Skip to content
Snippets Groups Projects
Verified Commit 4c52a95c authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Use Redox mirror of config repository

parent ff407fdc
No related branches found
No related tags found
No related merge requests found
Showing
with 20 additions and 20 deletions
...@@ -13,7 +13,7 @@ function recipe_update { ...@@ -13,7 +13,7 @@ function recipe_update {
} }
function recipe_build { function recipe_build {
wget -O config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub wget -O config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
sysroot="$(realpath ../sysroot)" sysroot="$(realpath ../sysroot)"
export CFLAGS="-I$sysroot/include" export CFLAGS="-I$sysroot/include"
export LDFLAGS="-L$sysroot/lib --static" export LDFLAGS="-L$sysroot/lib --static"
......
...@@ -12,7 +12,7 @@ function recipe_update { ...@@ -12,7 +12,7 @@ function recipe_update {
} }
function recipe_build { function recipe_build {
wget -O build-aux/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub wget -O build-aux/config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
./configure --build=${BUILD} --host=${HOST} --prefix='' ./configure --build=${BUILD} --host=${HOST} --prefix=''
"$REDOX_MAKE" -j"$($NPROC)" "$REDOX_MAKE" -j"$($NPROC)"
skip=1 skip=1
......
...@@ -12,7 +12,7 @@ function recipe_update { ...@@ -12,7 +12,7 @@ function recipe_update {
} }
function recipe_build { function recipe_build {
wget -O lib/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub wget -O lib/config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
sed -i 's|.*/doc/help2man.*|\&\& true|' Makefile.in sed -i 's|.*/doc/help2man.*|\&\& true|' Makefile.in
sed -i 's|install-info-am install-man|install-info-am|' Makefile.in sed -i 's|install-info-am install-man|install-info-am|' Makefile.in
......
...@@ -16,7 +16,7 @@ function recipe_build { ...@@ -16,7 +16,7 @@ function recipe_build {
sysroot="$PWD/../sysroot" sysroot="$PWD/../sysroot"
export LDFLAGS="-L$sysroot/lib -static" export LDFLAGS="-L$sysroot/lib -static"
export CPPFLAGS="-I$sysroot/include" export CPPFLAGS="-I$sysroot/include"
wget -O support/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub wget -O support/config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
./configure \ ./configure \
--build=${BUILD} \ --build=${BUILD} \
--host=${HOST} \ --host=${HOST} \
......
...@@ -4,7 +4,7 @@ patches = [ ...@@ -4,7 +4,7 @@ patches = [
"redox.patch" "redox.patch"
] ]
script = """ script = """
wget -O support/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub wget -O support/config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
""" """
[build] [build]
......
...@@ -19,7 +19,7 @@ function recipe_build { ...@@ -19,7 +19,7 @@ function recipe_build {
sysroot="$(realpath ../sysroot)" sysroot="$(realpath ../sysroot)"
export CFLAGS="-I$sysroot/include" export CFLAGS="-I$sysroot/include"
export LDFLAGS="-L$sysroot/lib --static" export LDFLAGS="-L$sysroot/lib --static"
wget -O config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub wget -O config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
autoreconf -i autoreconf -i
./configure \ ./configure \
--prefix=/ \ --prefix=/ \
......
...@@ -11,7 +11,7 @@ dependencies = [ ...@@ -11,7 +11,7 @@ dependencies = [
] ]
script = """ script = """
rsync -av --delete "${COOKBOOK_SOURCE}/" ./ rsync -av --delete "${COOKBOOK_SOURCE}/" ./
wget -O config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub wget -O config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
autoreconf -i autoreconf -i
COOKBOOK_CONFIGURE="./configure" COOKBOOK_CONFIGURE="./configure"
COOKBOOK_CONFIGURE_FLAGS=( COOKBOOK_CONFIGURE_FLAGS=(
......
...@@ -18,7 +18,7 @@ function recipe_build { ...@@ -18,7 +18,7 @@ function recipe_build {
export CPPFLAGS="-I$sysroot/include/SDL" export CPPFLAGS="-I$sysroot/include/SDL"
export LDFLAGS="-L$sysroot/lib -static" export LDFLAGS="-L$sysroot/lib -static"
./autogen.sh ./autogen.sh
wget -O config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub wget -O config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
./configure \ ./configure \
--build=${BUILD} \ --build=${BUILD} \
--host=${HOST} \ --host=${HOST} \
......
...@@ -13,7 +13,7 @@ function recipe_update { ...@@ -13,7 +13,7 @@ function recipe_update {
} }
function recipe_build { function recipe_build {
wget -O config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub wget -O config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
sysroot="$(realpath ../sysroot)" sysroot="$(realpath ../sysroot)"
export CFLAGS="-I$sysroot/include" export CFLAGS="-I$sysroot/include"
export LDFLAGS="-L$sysroot/lib --static" export LDFLAGS="-L$sysroot/lib --static"
......
...@@ -13,7 +13,7 @@ function recipe_update { ...@@ -13,7 +13,7 @@ function recipe_update {
} }
function recipe_build { function recipe_build {
wget -O bootstrap/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub wget -O bootstrap/config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
sysroot="$(realpath ../sysroot)" sysroot="$(realpath ../sysroot)"
export CFLAGS="-I$sysroot/include" export CFLAGS="-I$sysroot/include"
export LDFLAGS="-L$sysroot/lib" export LDFLAGS="-L$sysroot/lib"
......
...@@ -16,7 +16,7 @@ function recipe_build { ...@@ -16,7 +16,7 @@ function recipe_build {
sysroot="$(realpath ../sysroot)" sysroot="$(realpath ../sysroot)"
export CFLAGS="-I$sysroot/include" export CFLAGS="-I$sysroot/include"
export LDFLAGS="-L$sysroot/lib --static" export LDFLAGS="-L$sysroot/lib --static"
wget -O build-aux/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub wget -O build-aux/config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
./configure \ ./configure \
--build=${BUILD} \ --build=${BUILD} \
--host=${HOST} \ --host=${HOST} \
......
...@@ -4,7 +4,7 @@ patches = [ ...@@ -4,7 +4,7 @@ patches = [
"redox.patch" "redox.patch"
] ]
script = """ script = """
wget -O build-aux/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub wget -O build-aux/config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
""" """
[build] [build]
......
...@@ -16,7 +16,7 @@ function recipe_build { ...@@ -16,7 +16,7 @@ function recipe_build {
sysroot="$(realpath ../sysroot)" sysroot="$(realpath ../sysroot)"
export CFLAGS="-I$sysroot/include" export CFLAGS="-I$sysroot/include"
export LDFLAGS="-L$sysroot/lib --static" export LDFLAGS="-L$sysroot/lib --static"
#wget -O build-aux/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub #wget -O build-aux/config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
FREETYPE_CFLAGS="$("${PKG_CONFIG}" --cflags freetype2)" FREETYPE_CFLAGS="$("${PKG_CONFIG}" --cflags freetype2)"
FREETYPE_LIBS="$("${PKG_CONFIG}" --libs freetype2)" FREETYPE_LIBS="$("${PKG_CONFIG}" --libs freetype2)"
./configure \ ./configure \
......
...@@ -16,7 +16,7 @@ function recipe_build { ...@@ -16,7 +16,7 @@ function recipe_build {
sysroot="$(realpath ../sysroot)" sysroot="$(realpath ../sysroot)"
export CFLAGS="-I$sysroot/include" export CFLAGS="-I$sysroot/include"
export LDFLAGS="-L$sysroot/lib" export LDFLAGS="-L$sysroot/lib"
wget -O config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub wget -O config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
./configure \ ./configure \
--build=${BUILD} \ --build=${BUILD} \
--host=${HOST} \ --host=${HOST} \
......
...@@ -13,7 +13,7 @@ function recipe_update { ...@@ -13,7 +13,7 @@ function recipe_update {
} }
function recipe_build { function recipe_build {
wget -O config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub wget -O config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
./configure \ ./configure \
--build=${BUILD} \ --build=${BUILD} \
......
...@@ -17,7 +17,7 @@ function recipe_build { ...@@ -17,7 +17,7 @@ function recipe_build {
export CPPFLAGS="-I$sysroot/include" export CPPFLAGS="-I$sysroot/include"
export LDFLAGS="-L$sysroot/lib --static" export LDFLAGS="-L$sysroot/lib --static"
chmod +w config.sub chmod +w config.sub
wget -O config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub wget -O config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
./configure --build=${BUILD} --host=${HOST} --prefix='/' ./configure --build=${BUILD} --host=${HOST} --prefix='/'
"$REDOX_MAKE" -j"$($NPROC)" "$REDOX_MAKE" -j"$($NPROC)"
skip=1 skip=1
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
tar = "https://github.com/glennrp/libpng/archive/v1.6.36.tar.gz" tar = "https://github.com/glennrp/libpng/archive/v1.6.36.tar.gz"
script = """ script = """
chmod +w config.sub chmod +w config.sub
wget -O config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub wget -O config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
""" """
......
...@@ -17,7 +17,7 @@ function recipe_build { ...@@ -17,7 +17,7 @@ function recipe_build {
export CFLAGS="-I$sysroot/include" export CFLAGS="-I$sysroot/include"
export CPPFLAGS="-I$sysroot/include" export CPPFLAGS="-I$sysroot/include"
export LDFLAGS="-L$sysroot/lib" export LDFLAGS="-L$sysroot/lib"
wget -O config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub wget -O config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
./configure --build=${BUILD} --host="${HOST}" --prefix=/ --enable-osmesa ./configure --build=${BUILD} --host="${HOST}" --prefix=/ --enable-osmesa
"$REDOX_MAKE" -j"$($NPROC)" "$REDOX_MAKE" -j"$($NPROC)"
skip=1 skip=1
......
...@@ -20,7 +20,7 @@ function recipe_build { ...@@ -20,7 +20,7 @@ function recipe_build {
touch INSTALL NEWS README AUTHORS ChangeLog COPYING touch INSTALL NEWS README AUTHORS ChangeLog COPYING
autoreconf -fvi autoreconf -fvi
autoconf autoconf
wget -O build-aux/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub wget -O build-aux/config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
./configure --build=${BUILD} --host=${HOST} --prefix='' ./configure --build=${BUILD} --host=${HOST} --prefix=''
"$REDOX_MAKE" -j"$($NPROC)" V=1 "$REDOX_MAKE" -j"$($NPROC)" V=1
skip=1 skip=1
......
...@@ -13,7 +13,7 @@ function recipe_update { ...@@ -13,7 +13,7 @@ function recipe_update {
} }
function recipe_build { function recipe_build {
wget -O config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub wget -O config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
sysroot="$(realpath ../sysroot)" sysroot="$(realpath ../sysroot)"
export CFLAGS="-I$sysroot/include" export CFLAGS="-I$sysroot/include"
export LDFLAGS="-L$sysroot/lib --static" export LDFLAGS="-L$sysroot/lib --static"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment