diff --git a/recipes/acid/recipe.sh b/recipes/acid/recipe.sh deleted file mode 100644 index 8704aff2686fa3b1120e0e4c2fc3b0450ccb47e3..0000000000000000000000000000000000000000 --- a/recipes/acid/recipe.sh +++ /dev/null @@ -1 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/acid.git diff --git a/recipes/audiod/recipe.sh b/recipes/audiod/recipe.sh deleted file mode 100644 index d082f464ed7dac53f1e5abe0b750aae4f82c0010..0000000000000000000000000000000000000000 --- a/recipes/audiod/recipe.sh +++ /dev/null @@ -1 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/audiod.git diff --git a/recipes/bash/recipe.sh b/recipes/bash/recipe.sh deleted file mode 100644 index d5545b2b0d628c6eb7b63c0ff011778174e215bd..0000000000000000000000000000000000000000 --- a/recipes/bash/recipe.sh +++ /dev/null @@ -1,44 +0,0 @@ -VERSION=4.4 -TAR=http://ftp.gnu.org/gnu/bash/bash-$VERSION.tar.gz -BUILD_DEPENDS=(gettext) - -function recipe_version { - echo "$VERSION" - skip=1 -} - -function recipe_update { - echo "skipping update" - skip=1 -} - -function recipe_build { - sysroot="$PWD/../sysroot" - export LDFLAGS="-L$sysroot/lib -static" - export CPPFLAGS="-I$sysroot/include" - wget -O support/config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false" - ./configure \ - --build=${BUILD} \ - --host=${HOST} \ - --prefix=/ \ - --disable-readline \ - bash_cv_getenv_redef=no - "$REDOX_MAKE" # -j"$($NPROC)" - skip=1 -} - -function recipe_test { - echo "skipping test" - skip=1 -} - -function recipe_clean { - "$REDOX_MAKE" clean - skip=1 -} - -function recipe_stage { - dest="$(realpath $1)" - "$REDOX_MAKE" DESTDIR="$dest" ${MAKEFLAGS} install - skip=1 -} diff --git a/recipes/bootloader/recipe.sh b/recipes/bootloader/recipe.sh deleted file mode 100644 index b91ed3e5c06a88548979db97aacc4cbb74db678d..0000000000000000000000000000000000000000 --- a/recipes/bootloader/recipe.sh +++ /dev/null @@ -1,32 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/bootloader.git - -function recipe_version { - echo "0.1.0" - skip=1 -} - -function recipe_update { - echo "skipping update" - skip=1 -} - -function recipe_build { - nasm -f bin -o bootloader -D "ARCH_${ARCH}" -i"${ARCH}/" "${ARCH}/disk.asm" - skip=1 -} - -function recipe_test { - echo "skipping test" - skip=1 -} - -function recipe_clean { - "$REDOX_MAKE" clean - skip=1 -} - -function recipe_stage { - dest="$(realpath $1)" - cp -v bootloader "$dest" - skip=1 -} diff --git a/recipes/ca-certificates/recipe.sh b/recipes/ca-certificates/recipe.sh deleted file mode 100644 index c41b21069c11b298786cad4272d7befcdb653406..0000000000000000000000000000000000000000 --- a/recipes/ca-certificates/recipe.sh +++ /dev/null @@ -1,39 +0,0 @@ -GIT="https://gitlab.redox-os.org/redox-os/ca-certificates.git" - -function recipe_version { - date "+%Y%m%d" - skip=1 -} - -function recipe_update { - echo "skipping update" - skip=1 -} - -function recipe_build { - rm -rf build - mkdir build - curl \ - -o certdata.txt \ - --time-cond certdata.txt \ - https://hg.mozilla.org/releases/mozilla-release/raw-file/default/security/nss/lib/ckfw/builtins/certdata.txt - ./make-ca.sh -D "$PWD/build" - skip=1 -} - -function recipe_test { - echo "skipping test" - skip=1 -} - -function recipe_clean { - rm -rf build - skip=1 -} - -function recipe_stage { - dest="$(realpath $1)" - mkdir -p "$1/ssl" - cp -RL build/etc/ssl/certs "$1/ssl" - skip=1 -} diff --git a/recipes/cleye/recipe.sh b/recipes/cleye/recipe.sh deleted file mode 100755 index 86eeca2bad117f4b7f316806f822c85bfa784ee7..0000000000000000000000000000000000000000 --- a/recipes/cleye/recipe.sh +++ /dev/null @@ -1,2 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/cleye.git -GIT_UPSTREAM=https://github.com/evanandrewrose/cleye.git diff --git a/recipes/contain/recipe.sh b/recipes/contain/recipe.sh deleted file mode 100644 index b4a28108d15807dff8aa5e5206fd561afbbccd57..0000000000000000000000000000000000000000 --- a/recipes/contain/recipe.sh +++ /dev/null @@ -1 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/contain.git diff --git a/recipes/coreutils/recipe.sh b/recipes/coreutils/recipe.sh deleted file mode 100644 index f95584996ce5463d14c59ffbf3a93eca499db218..0000000000000000000000000000000000000000 --- a/recipes/coreutils/recipe.sh +++ /dev/null @@ -1 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/coreutils.git diff --git a/recipes/curl/recipe.sh b/recipes/curl/recipe.sh deleted file mode 100644 index e9554ac4b8f1bfcf9a01936dfc41be23da62106d..0000000000000000000000000000000000000000 --- a/recipes/curl/recipe.sh +++ /dev/null @@ -1,58 +0,0 @@ -VERSION="7.62.0" -#TAR=https://curl.haxx.se/download/curl-$VERSION.tar.gz -GIT=https://gitlab.redox-os.org/redox-os/curl.git -BRANCH=redox -BUILD_DEPENDS=(nghttp2 openssl zlib) -DEPENDS="ca-certificates" - -function recipe_version { - echo "$VERSION" - skip=1 -} - -function recipe_update { - echo "skipping update" - skip=1 -} - -function recipe_build { - sysroot="$(realpath ../sysroot)" - export CFLAGS="-I$sysroot/include" - export LDFLAGS="-L$sysroot/lib --static" - wget -O config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false" - autoreconf -i - ./configure \ - --prefix=/ \ - --build=${BUILD} \ - --host=${HOST} \ - --disable-ftp \ - --disable-ipv6 \ - --disable-ntlm-wb \ - --disable-shared \ - --disable-tftp \ - --disable-threaded-resolver \ - --enable-static \ - --with-ca-path=/ssl/certs \ - --with-nghttp2="$sysroot" \ - --with-ssl="$sysroot" \ - --with-zlib="$sysroot" - "$REDOX_MAKE" -j"$($NPROC)" - skip=1 -} - -function recipe_test { - echo "skipping test" - skip=1 -} - -function recipe_clean { - "$REDOX_MAKE" clean - skip=1 -} - -function recipe_stage { - dest="$(realpath $1)" - "$REDOX_MAKE" DESTDIR="$dest" install - rm -f "$dest/lib/"*.la - skip=1 -} diff --git a/recipes/dash/recipe.sh b/recipes/dash/recipe.sh deleted file mode 100644 index b4e9ee7e3c5b8051ba7987e60ba78b7ef709a82e..0000000000000000000000000000000000000000 --- a/recipes/dash/recipe.sh +++ /dev/null @@ -1,44 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/dash.git -BRANCH=redox - -function recipe_version { - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" - skip=1 -} - -function recipe_update { - echo "skipping update" - skip=1 -} - -function recipe_build { - ./autogen.sh - ./configure \ - --build=${BUILD} \ - --host=${HOST} \ - --prefix=/ \ - --enable-static \ - cross_compiling=yes - - # See https://stackoverflow.com/questions/4247068/sed-command-with-i-option-failing-on-mac-but-works-on-linux. - sed -i'' -e 's|#define HAVE_GETRLIMIT 1|/* #undef HAVE_GETRLIMIT */|g' config.h - "$REDOX_MAKE" -j"$($NPROC)" - skip=1 -} - -function recipe_test { - echo "skipping test" - skip=1 -} - -function recipe_clean { - "$REDOX_MAKE" clean - skip=1 -} - -function recipe_stage { - dest="$(realpath $1)" - "$REDOX_MAKE" DESTDIR="$dest" install - ln -s "dash" "$dest/bin/sh" - skip=1 -} diff --git a/recipes/drivers/recipe.sh b/recipes/drivers/recipe.sh deleted file mode 100644 index 04add3f4e770ca1b55780ce52d659131ef6a7d12..0000000000000000000000000000000000000000 --- a/recipes/drivers/recipe.sh +++ /dev/null @@ -1,20 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/drivers.git -CARGOBUILD="build" -CARGOFLAGS="--all" - -function recipe_version { - echo "0.1.1" - skip=1 -} - -function recipe_stage { - mkdir -pv "$1/etc/pcid" - cp -v initfs.toml "$1/etc/pcid/initfs.toml" - - mkdir -pv "$1/etc/pcid.d" - for conf in `find . -maxdepth 2 -type f -name 'config.toml'`; do - driver=$(echo $conf | cut -d '/' -f2) - cp -v $conf "$1/etc/pcid.d/$driver.toml" - done - -} diff --git a/recipes/exampled/recipe.sh b/recipes/exampled/recipe.sh deleted file mode 100644 index b56a7b49fe02dae4818e7f97953f2fdc0c64f720..0000000000000000000000000000000000000000 --- a/recipes/exampled/recipe.sh +++ /dev/null @@ -1 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/exampled.git diff --git a/recipes/expat/recipe.sh b/recipes/expat/recipe.sh deleted file mode 100644 index 9a0dbaaa80d65e1e66ab29be5880ac5b11e850c7..0000000000000000000000000000000000000000 --- a/recipes/expat/recipe.sh +++ /dev/null @@ -1,36 +0,0 @@ -VERSION=2.2.6 -TAR=https://github.com/libexpat/libexpat/releases/download/R_${VERSION//./_}/expat-${VERSION}.tar.bz2 - -function recipe_version { - echo "$VERSION" - skip=1 -} - -function recipe_update { - echo "skipping update" - skip=1 -} - -function recipe_build { - export LDFLAGS="--static" - ./configure --build=${BUILD} --host=${HOST} --prefix=/ - "$REDOX_MAKE" -j"$($NPROC)" - skip=1 -} - -function recipe_test { - echo "skipping test" - skip=1 -} - -function recipe_clean { - "$REDOX_MAKE" clean - skip=1 -} - -function recipe_stage { - dest="$(realpath $1)" - "$REDOX_MAKE" DESTDIR="$dest" install - rm -f "$dest/lib/"*.la - skip=1 -} diff --git a/recipes/extrautils/recipe.sh b/recipes/extrautils/recipe.sh deleted file mode 100644 index c046ce052002b947f24092e38e5a053b47fdb8d8..0000000000000000000000000000000000000000 --- a/recipes/extrautils/recipe.sh +++ /dev/null @@ -1,2 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/extrautils.git -BUILD_DEPENDS=(xz) diff --git a/recipes/findutils/recipe.sh b/recipes/findutils/recipe.sh deleted file mode 100644 index e140a2f97f55f8e091c76bc6e21c3cc0b66d977f..0000000000000000000000000000000000000000 --- a/recipes/findutils/recipe.sh +++ /dev/null @@ -1,3 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/findutils.git -GIT_UPSTREAM=https://github.com/uutils/findutils.git -CARGOFLAGS="--bin find" diff --git a/recipes/freetype/recipe.sh b/recipes/freetype/recipe.sh deleted file mode 100644 index ae71650c8faf8b0162e262ce62376af18d0eae70..0000000000000000000000000000000000000000 --- a/recipes/freetype/recipe.sh +++ /dev/null @@ -1,39 +0,0 @@ -VERSION=2.9.1 -TAR=https://download.savannah.gnu.org/releases/freetype/freetype-$VERSION.tar.gz -BUILD_DEPENDS=(zlib libpng) - -function recipe_version { - echo "$VERSION" - skip=1 -} - -function recipe_update { - echo "skipping update" - skip=1 -} - -function recipe_build { - sysroot="$(realpath ../sysroot)" - export LDFLAGS="-L$sysroot/lib" - export CPPFLAGS="-I$sysroot/include" - ./configure --build=${BUILD} --host=${HOST} --prefix='/' - "$REDOX_MAKE" -j"$($NPROC)" - skip=1 -} - -function recipe_test { - echo "skipping test" - skip=1 -} - -function recipe_clean { - "$REDOX_MAKE" clean - skip=1 -} - -function recipe_stage { - dest="$(realpath $1)" - "$REDOX_MAKE" DESTDIR="$dest" install - rm -f "$dest/lib/"*.la - skip=1 -} diff --git a/recipes/games/recipe.sh b/recipes/games/recipe.sh deleted file mode 100644 index b0aa22fc8b05e6524a215c6ac978e289f7a7c56d..0000000000000000000000000000000000000000 --- a/recipes/games/recipe.sh +++ /dev/null @@ -1 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/games.git diff --git a/recipes/gdbserver/recipe.sh b/recipes/gdbserver/recipe.sh deleted file mode 100644 index 9df333cc59869ea56fd3eac97803a712f0e3e5a8..0000000000000000000000000000000000000000 --- a/recipes/gdbserver/recipe.sh +++ /dev/null @@ -1 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/gdbserver.git diff --git a/recipes/gettext/recipe.sh b/recipes/gettext/recipe.sh deleted file mode 100644 index bffce9cc77e07a724b5d4cb68a5ad763b3eeffd4..0000000000000000000000000000000000000000 --- a/recipes/gettext/recipe.sh +++ /dev/null @@ -1,51 +0,0 @@ -VERSION=0.19.8.1 -TAR=http://ftp.gnu.org/pub/gnu/gettext/gettext-${VERSION}.tar.xz -BUILD_DEPENDS=(libiconv) - -function recipe_version { - echo "$VERSION" - skip=1 -} - -function recipe_update { - echo "skipping update" - skip=1 -} - -function recipe_build { - sysroot="$(realpath ../sysroot)" - export CFLAGS="-I$sysroot/include" - export LDFLAGS="-L$sysroot/lib --static" - 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=/ \ - --disable-shared \ - --enable-static \ - ac_cv_have_decl_program_invocation_name=no \ - gt_cv_locale_fr=false \ - gt_cv_locale_fr_utf8=false \ - gt_cv_locale_ja=false \ - gt_cv_locale_tr_utf8=false \ - gt_cv_locale_zh_CN=false - "$REDOX_MAKE" -j"$($NPROC)" - skip=1 -} - -function recipe_test { - echo "skipping test" - skip=1 -} - -function recipe_clean { - "$REDOX_MAKE" clean - skip=1 -} - -function recipe_stage { - dest="$(realpath $1)" - "$REDOX_MAKE" DESTDIR="$dest" install - rm -f "$dest/lib/"*.la - skip=1 -} diff --git a/recipes/init/recipe.sh b/recipes/init/recipe.sh deleted file mode 100644 index bdc53785afc538d4a5b7a4e7b0431a7548cde58c..0000000000000000000000000000000000000000 --- a/recipes/init/recipe.sh +++ /dev/null @@ -1 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/init.git diff --git a/recipes/installer/recipe.sh b/recipes/installer/recipe.sh deleted file mode 100644 index 7717fe61a6423388563e8df3005b7b26c0a2fc2e..0000000000000000000000000000000000000000 --- a/recipes/installer/recipe.sh +++ /dev/null @@ -1 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/installer.git diff --git a/recipes/ion/recipe.sh b/recipes/ion/recipe.sh deleted file mode 100644 index fac212ec2ea3fc7e9a7c853a13c6f3f35ce4e7c2..0000000000000000000000000000000000000000 --- a/recipes/ion/recipe.sh +++ /dev/null @@ -1,2 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/ion.git -BRANCH=master diff --git a/recipes/ipcd/recipe.sh b/recipes/ipcd/recipe.sh deleted file mode 100644 index d500b6447343982e04ea051ec8ee06a7cd5515a5..0000000000000000000000000000000000000000 --- a/recipes/ipcd/recipe.sh +++ /dev/null @@ -1,2 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/ipcd.git -CARGOFLAGS="--bin ipcd -- -C lto" diff --git a/recipes/libffi/recipe.sh b/recipes/libffi/recipe.sh deleted file mode 100644 index b7f841c39bd771887fae537a45a5f3c70e51a08f..0000000000000000000000000000000000000000 --- a/recipes/libffi/recipe.sh +++ /dev/null @@ -1,45 +0,0 @@ -VERSION=3.2.1 -TAR=https://sourceware.org/pub/libffi/libffi-$VERSION.tar.gz -BUILD_DEPENDS=() - -function recipe_version { - echo "$VERSION" - skip=1 -} - -function recipe_update { - echo "skipping update" - skip=1 -} - -function recipe_build { - sysroot="$(realpath ../sysroot)" - export CFLAGS="-I$sysroot/include" - export LDFLAGS="-L$sysroot/lib" - 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=/ \ - --disable-shared \ - --enable-static - "$REDOX_MAKE" -j"$($NPROC)" - skip=1 -} - -function recipe_test { - echo "skipping test" - skip=1 -} - -function recipe_clean { - "$REDOX_MAKE" clean - skip=1 -} - -function recipe_stage { - dest="$(realpath $1)" - "$REDOX_MAKE" DESTDIR="$dest" install - rm -f "$dest/lib/"*.la - skip=1 -} diff --git a/recipes/libiconv/recipe.sh b/recipes/libiconv/recipe.sh deleted file mode 100644 index 5879cc93ac86fffe96ea6752b114ce28b8131dc3..0000000000000000000000000000000000000000 --- a/recipes/libiconv/recipe.sh +++ /dev/null @@ -1,42 +0,0 @@ -VERSION=1.15 -TAR=https://ftp.gnu.org/pub/gnu/libiconv/libiconv-$VERSION.tar.gz - -function recipe_version { - echo "$VERSION" - skip=1 -} - -function recipe_update { - echo "skipping update" - skip=1 -} - -function recipe_build { - export LDFLAGS="--static" - ./configure \ - --build="${BUILD}" \ - --host="${HOST}" \ - --prefix='/' \ - --disable-shared \ - --enable-static \ - ac_cv_have_decl_program_invocation_name=no - "$REDOX_MAKE" -j"$($NPROC)" - skip=1 -} - -function recipe_test { - echo "skipping test" - skip=1 -} - -function recipe_clean { - "$REDOX_MAKE" clean - skip=1 -} - -function recipe_stage { - dest="$(realpath $1)" - "$REDOX_MAKE" DESTDIR="$dest" install - rm -f "$dest/lib/"*.la - skip=1 -} diff --git a/recipes/libjpeg/recipe.sh b/recipes/libjpeg/recipe.sh deleted file mode 100644 index fa6d48ae89451d5ed431a970d1c459ee88c6ca9e..0000000000000000000000000000000000000000 --- a/recipes/libjpeg/recipe.sh +++ /dev/null @@ -1,36 +0,0 @@ -VERSION=9c -TAR=http://ijg.org/files/jpegsrc.v$VERSION.tar.gz - -function recipe_version { - echo "$VERSION" - skip=1 -} - -function recipe_update { - echo "skipping update" - skip=1 -} - -function recipe_build { - export LDFLAGS="--static" - ./configure --build=${BUILD} --host=${HOST} --prefix='/' - "$REDOX_MAKE" -j"$($NPROC)" - skip=1 -} - -function recipe_test { - echo "skipping test" - skip=1 -} - -function recipe_clean { - "$REDOX_MAKE" clean - skip=1 -} - -function recipe_stage { - dest="$(realpath $1)" - "$REDOX_MAKE" DESTDIR="$dest" install - rm -f "$dest/lib/"*.la - skip=1 -} diff --git a/recipes/libogg/recipe.sh b/recipes/libogg/recipe.sh deleted file mode 100644 index 0472da5828e3414388ce3055d1afff83dc9b6b16..0000000000000000000000000000000000000000 --- a/recipes/libogg/recipe.sh +++ /dev/null @@ -1,41 +0,0 @@ -VERSION=1.3.3 -TAR=http://downloads.xiph.org/releases/ogg/libogg-$VERSION.tar.xz -TAR_SHA256=4f3fc6178a533d392064f14776b23c397ed4b9f48f5de297aba73b643f955c08 - -function recipe_version { - echo "$VERSION" - skip=1 -} - -function recipe_update { - echo "skipping update" - skip=1 -} - -function recipe_build { - 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='' - "$REDOX_MAKE" -j"$($NPROC)" - skip=1 -} - -function recipe_test { - echo "skipping test" - skip=1 -} - -function recipe_clean { - "$REDOX_MAKE" clean - skip=1 -} - -function recipe_stage { - dest="$(realpath $1)" - "$REDOX_MAKE" DESTDIR="$dest" install - rm -f "$dest/lib/"*.la - skip=1 -} diff --git a/recipes/liborbital/recipe.sh b/recipes/liborbital/recipe.sh deleted file mode 100644 index 8e08a8fecbe758dd524e3b6ad7ca10432b0a0ca3..0000000000000000000000000000000000000000 --- a/recipes/liborbital/recipe.sh +++ /dev/null @@ -1,7 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/liborbital.git - -function recipe_stage { - dest="$(realpath $1)" - "$REDOX_MAKE" HOST="$HOST" DESTDIR="$dest" install - skip=1 -} diff --git a/recipes/libpng/recipe.sh b/recipes/libpng/recipe.sh deleted file mode 100644 index 5c30af562acf5028e0266971c03a261aa316c89e..0000000000000000000000000000000000000000 --- a/recipes/libpng/recipe.sh +++ /dev/null @@ -1,41 +0,0 @@ -VERSION=1.6.36 -TAR=https://github.com/glennrp/libpng/archive/v${VERSION}.tar.gz -BUILD_DEPENDS=(zlib) - -function recipe_version { - echo "$VERSION" - skip=1 -} - -function recipe_update { - echo "skipping update" - skip=1 -} - -function recipe_build { - sysroot="$(realpath ../sysroot)" - export CPPFLAGS="-I$sysroot/include" - export LDFLAGS="-L$sysroot/lib --static" - chmod +w 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='/' - "$REDOX_MAKE" -j"$($NPROC)" - skip=1 -} - -function recipe_test { - echo "skipping test" - skip=1 -} - -function recipe_clean { - "$REDOX_MAKE" clean - skip=1 -} - -function recipe_stage { - dest="$(realpath $1)" - "$REDOX_MAKE" DESTDIR="$dest" install - rm -f "$dest/bin/"*-config "$dest/lib/"*.la - skip=1 -} diff --git a/recipes/libsodium/recipe.sh b/recipes/libsodium/recipe.sh deleted file mode 100644 index fa86e9a16cfba0f536119f7d72980a93d0f09e9b..0000000000000000000000000000000000000000 --- a/recipes/libsodium/recipe.sh +++ /dev/null @@ -1,35 +0,0 @@ -VERSION=1.0.16 -TAR=https://github.com/jedisct1/libsodium/archive/${VERSION}.tar.gz - -function recipe_version { - echo "$VERSION" - skip=1 -} - -function recipe_update { - echo "skipping update" - skip=1 -} - -function recipe_build { - ./autogen.sh - ./configure --build=${BUILD} --host=${HOST} --prefix='/' - "$REDOX_MAKE" -j"$($NPROC)" - skip=1 -} - -function recipe_test { - echo "skipping test" - skip=1 -} - -function recipe_clean { - "$REDOX_MAKE" clean - skip=1 -} - -function recipe_stage { - dest="$(realpath $1)" - "$REDOX_MAKE" DESTDIR="$dest" install - skip=1 -} diff --git a/recipes/libvorbis/recipe.sh b/recipes/libvorbis/recipe.sh deleted file mode 100644 index fd98adbc71e1b1c4c4fc2deb3bc8f0c291e8eb17..0000000000000000000000000000000000000000 --- a/recipes/libvorbis/recipe.sh +++ /dev/null @@ -1,40 +0,0 @@ -VERSION=1.3.6 -TAR=http://downloads.xiph.org/releases/vorbis/libvorbis-$VERSION.tar.xz -TAR_SHA256=af00bb5a784e7c9e69f56823de4637c350643deedaf333d0fa86ecdba6fcb415 -BUILD_DEPENDS=(libogg) - -function recipe_version { - echo "$VERSION" - skip=1 -} - -function recipe_update { - echo "skipping update" - skip=1 -} - -function recipe_build { - ./configure \ - --build=${BUILD} \ - --host=${HOST} \ - --prefix='' - "$REDOX_MAKE" -j"$($NPROC)" - skip=1 -} - -function recipe_test { - echo "skipping test" - skip=1 -} - -function recipe_clean { - "$REDOX_MAKE" clean - skip=1 -} - -function recipe_stage { - dest="$(realpath $1)" - "$REDOX_MAKE" DESTDIR="$dest" install - rm -f "$dest/lib/"*.la - skip=1 -} diff --git a/recipes/libxml2/recipe.sh b/recipes/libxml2/recipe.sh deleted file mode 100755 index da0b938f3086bfaf8c49c20cd61b02e105bd88b9..0000000000000000000000000000000000000000 --- a/recipes/libxml2/recipe.sh +++ /dev/null @@ -1,45 +0,0 @@ -VERSION="2.9.9" -TAR="ftp://xmlsoft.org/libxml2/libxml2-${VERSION}.tar.gz" -BUILD_DEPENDS=() - -function recipe_version { - echo "$VERSION" - skip=1 -} - -function recipe_update { - echo "skipping update" - skip=1 -} - -function recipe_build { - sysroot="$(realpath ../sysroot)" - export CFLAGS="-I$sysroot/include" - export LDFLAGS="-L$sysroot/lib --static" - ./configure \ - --build=${BUILD} \ - --host=${HOST} \ - --prefix=/ \ - --disable-shared \ - --enable-static \ - --without-python - "$REDOX_MAKE" -j"$($NPROC)" - skip=1 -} - -function recipe_test { - echo "skipping test" - skip=1 -} - -function recipe_clean { - "$REDOX_MAKE" clean - skip=1 -} - -function recipe_stage { - dest="$(realpath $1)" - "$REDOX_MAKE" DESTDIR="$dest" install - rm -f "$dest/lib/"*.la - skip=1 -} diff --git a/recipes/logd/recipe.sh b/recipes/logd/recipe.sh deleted file mode 100644 index cffbc308a9b61a8368afa2809287d5d47112441c..0000000000000000000000000000000000000000 --- a/recipes/logd/recipe.sh +++ /dev/null @@ -1 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/logd.git diff --git a/recipes/nasm/recipe.sh b/recipes/nasm/recipe.sh deleted file mode 100644 index c419a271269c1728ea8224e54cb15af3b0446553..0000000000000000000000000000000000000000 --- a/recipes/nasm/recipe.sh +++ /dev/null @@ -1,36 +0,0 @@ -VERSION=2.14.02 -TAR=http://www.nasm.us/pub/nasm/releasebuilds/$VERSION/nasm-$VERSION.tar.gz - -function recipe_version { - echo "$VERSION" - skip=1 -} - -function recipe_update { - echo "skipping update" - skip=1 -} - -function recipe_build { - export LDFLAGS="-static" - ./configure --build=${BUILD} --host=${HOST} --prefix="" - "$REDOX_MAKE" -j"$($NPROC)" - skip=1 -} - -function recipe_test { - echo "skipping test" - skip=1 -} - -function recipe_clean { - "$REDOX_MAKE" clean - skip=1 -} - -function recipe_stage { - dest="$(realpath $1)" - "$REDOX_MAKE" install DESTDIR="$dest" - find "$dest"/bin -exec ${HOST}-strip {} ';' 2> /dev/null - skip=1 -} diff --git a/recipes/netdb/recipe.sh b/recipes/netdb/recipe.sh deleted file mode 100644 index 12503ac9721b5b7e18bc7463208af35cb47455e6..0000000000000000000000000000000000000000 --- a/recipes/netdb/recipe.sh +++ /dev/null @@ -1,31 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/netdb.git - -function recipe_version { - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" - skip=1 -} - -function recipe_update { - echo "skipping update" - skip=1 -} - -function recipe_build { - echo "skipping build" - skip=1 -} - -function recipe_test { - echo "skipping test" - skip=1 -} - -function recipe_clean { - echo "skipping clean" - skip=1 -} - -function recipe_stage { - cp -r * ../stage/ - skip=1 -} diff --git a/recipes/netstack/recipe.sh b/recipes/netstack/recipe.sh deleted file mode 100644 index 8b826c558076d2b414d96fa88f247ddceaa891dc..0000000000000000000000000000000000000000 --- a/recipes/netstack/recipe.sh +++ /dev/null @@ -1 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/netstack.git diff --git a/recipes/netutils/recipe.sh b/recipes/netutils/recipe.sh deleted file mode 100644 index 2c79d7ea8f17dd5c12a89a7c00da56c1190e169d..0000000000000000000000000000000000000000 --- a/recipes/netutils/recipe.sh +++ /dev/null @@ -1,2 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/netutils.git -BRANCH=redox-unix diff --git a/recipes/nghttp2/recipe.sh b/recipes/nghttp2/recipe.sh deleted file mode 100644 index ee980382de3ca4c06b7797ec0223a14c602726fb..0000000000000000000000000000000000000000 --- a/recipes/nghttp2/recipe.sh +++ /dev/null @@ -1,41 +0,0 @@ -VERSION=1.37.0 -TAR=https://github.com/nghttp2/nghttp2/releases/download/v${VERSION}/nghttp2-${VERSION}.tar.xz - -function recipe_version { - echo "$VERSION" - skip=1 -} - -function recipe_update { - echo "skipping update" - skip=1 -} - -function recipe_build { - export CFLAGS="-static" - - ./configure \ - --build="${BUILD}" \ - --host="${HOST}" \ - --prefix=/ \ - --enable-lib-only - "$REDOX_MAKE" -j"$($NPROC)" - skip=1 -} - -function recipe_test { - echo "skipping test" - skip=1 -} - -function recipe_clean { - "$REDOX_MAKE" clean - skip=1 -} - -function recipe_stage { - dest="$(realpath $1)" - "$REDOX_MAKE" install DESTDIR="$dest" - rm -f "$dest/lib/"*.la - skip=1 -} diff --git a/recipes/nulld/recipe.sh b/recipes/nulld/recipe.sh deleted file mode 100644 index a5944d526089367c46070c5b29f4794579cc47ef..0000000000000000000000000000000000000000 --- a/recipes/nulld/recipe.sh +++ /dev/null @@ -1,2 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/nulld.git -CARGOFLAGS="--bin nulld -- -C lto" diff --git a/recipes/openssl/recipe.sh b/recipes/openssl/recipe.sh deleted file mode 100644 index 48b929ce3988154d775ffad4f8a9f9eb14a1881a..0000000000000000000000000000000000000000 --- a/recipes/openssl/recipe.sh +++ /dev/null @@ -1,36 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/openssl.git -BRANCH=redox -GIT_UPSTREAM=https://github.com/openssl/openssl.git - -function recipe_version { - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" - skip=1 -} - -function recipe_update { - echo "skipping update" - skip=1 -} - -function recipe_build { - ./Configure no-shared no-dgram redox-$ARCH --prefix="/" - "$REDOX_MAKE" -j"$($NPROC)" - skip=1 -} - -function recipe_test { - echo "skipping test" - skip=1 -} - -function recipe_clean { - "$REDOX_MAKE" clean - skip=1 -} - -function recipe_stage { - dest="$(realpath $1)" - "$REDOX_MAKE" DESTDIR="$dest" install - rm -rf "$1/{share,ssl}" - skip=1 -} diff --git a/recipes/orbdata/recipe.sh b/recipes/orbdata/recipe.sh deleted file mode 100644 index 8ad1f85e3549059bdd877326a9efe701a8f49a4b..0000000000000000000000000000000000000000 --- a/recipes/orbdata/recipe.sh +++ /dev/null @@ -1,32 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/orbdata.git - -function recipe_version { - echo "0.0.1" - skip=1 -} - -function recipe_update { - echo "skipping update" - skip=1 -} - -function recipe_build { - echo "skipping build" - skip=1 -} - -function recipe_test { - echo "skipping test" - skip=1 -} - -function recipe_clean { - echo "skipping clean" - skip=1 -} - -function recipe_stage { - mkdir -pv "$1/ui" - cp -Rv ./* "$1/ui" - skip=1 -} diff --git a/recipes/orbital/recipe.sh b/recipes/orbital/recipe.sh deleted file mode 100644 index 68484f398907a7b2cd95e4fab249ca8900c63b8c..0000000000000000000000000000000000000000 --- a/recipes/orbital/recipe.sh +++ /dev/null @@ -1,3 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/orbital.git -CARGOFLAGS="--bin orbital -- -C lto" -DEPENDS="orbdata" diff --git a/recipes/orbterm/recipe.sh b/recipes/orbterm/recipe.sh deleted file mode 100644 index 9976d87ac9a0e2948d192f9c418786b1ed9e328b..0000000000000000000000000000000000000000 --- a/recipes/orbterm/recipe.sh +++ /dev/null @@ -1,4 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/orbterm.git -BINDIR=/ui/bin -CARGOFLAGS="--bin orbterm -- -C lto" -DEPENDS="orbital" diff --git a/recipes/orbutils/recipe.sh b/recipes/orbutils/recipe.sh deleted file mode 100644 index 281976f97d3769d9d483faaa74a3edd5774d783f..0000000000000000000000000000000000000000 --- a/recipes/orbutils/recipe.sh +++ /dev/null @@ -1,3 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/orbutils.git -BINDIR=/ui/bin -DEPENDS="orbital" diff --git a/recipes/pciids/recipe.sh b/recipes/pciids/recipe.sh deleted file mode 100644 index 2e1c48bf352f359ccc878ccb02a307f79dc99a58..0000000000000000000000000000000000000000 --- a/recipes/pciids/recipe.sh +++ /dev/null @@ -1,14 +0,0 @@ -GIT=https://github.com/pciutils/pciids.git - -function recipe_build { - skip=1 -} - -function recipe_stage { - dest="$(realpath $1)" - - install -d "${dest}/share/misc/" - install pci.ids "${dest}/share/misc/" - - skip=1 -} diff --git a/recipes/pcre/recipe.sh b/recipes/pcre/recipe.sh deleted file mode 100644 index 2592d1113a4c520c8573e0fb39cbc8cf4ed428ef..0000000000000000000000000000000000000000 --- a/recipes/pcre/recipe.sh +++ /dev/null @@ -1,44 +0,0 @@ -VERSION=8.42 -TAR=https://iweb.dl.sourceforge.net/project/pcre/pcre/$VERSION/pcre-$VERSION.tar.bz2 -BUILD_DEPENDS=() - -function recipe_version { - echo "$VERSION" - skip=1 -} - -function recipe_update { - echo "skipping update" - skip=1 -} - -function recipe_build { - sysroot="$(realpath ../sysroot)" - export CFLAGS="-I$sysroot/include" - export LDFLAGS="-L$sysroot/lib --static" - ./configure \ - --build=${BUILD} \ - --host=${HOST} \ - --prefix=/ \ - --disable-shared \ - --enable-static - "$REDOX_MAKE" -j"$($NPROC)" - skip=1 -} - -function recipe_test { - echo "skipping test" - skip=1 -} - -function recipe_clean { - "$REDOX_MAKE" clean - skip=1 -} - -function recipe_stage { - dest="$(realpath $1)" - "$REDOX_MAKE" DESTDIR="$dest" install - rm -f "$dest/lib/"*.la - skip=1 -} diff --git a/recipes/pkgar/recipe.sh b/recipes/pkgar/recipe.sh deleted file mode 100644 index ca4d5f3b336f5b9d2bce63f2444560541117a8f5..0000000000000000000000000000000000000000 --- a/recipes/pkgar/recipe.sh +++ /dev/null @@ -1 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/pkgar.git diff --git a/recipes/pkgutils/recipe.sh b/recipes/pkgutils/recipe.sh deleted file mode 100644 index 9af1a437852b8f7276852c16e204d729f8446c7d..0000000000000000000000000000000000000000 --- a/recipes/pkgutils/recipe.sh +++ /dev/null @@ -1 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/pkgutils.git diff --git a/recipes/ptyd/recipe.sh b/recipes/ptyd/recipe.sh deleted file mode 100644 index 558bbf5d4a7e1fc9bdb45448deec4d4c88a6140a..0000000000000000000000000000000000000000 --- a/recipes/ptyd/recipe.sh +++ /dev/null @@ -1,2 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/ptyd.git -CARGOFLAGS="--bin ptyd -- -C lto" diff --git a/recipes/ramfs/recipe.sh b/recipes/ramfs/recipe.sh deleted file mode 100644 index f583f5c31caee5018db7c1a35baa89ca222a329b..0000000000000000000000000000000000000000 --- a/recipes/ramfs/recipe.sh +++ /dev/null @@ -1 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/ramfs.git diff --git a/recipes/randd/recipe.sh b/recipes/randd/recipe.sh deleted file mode 100644 index a3e93aadae5885f68b87a68d095f3c815c22135a..0000000000000000000000000000000000000000 --- a/recipes/randd/recipe.sh +++ /dev/null @@ -1,2 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/randd.git -CARGOFLAGS="--bin randd -- -C lto" diff --git a/recipes/redoxerd/recipe.sh b/recipes/redoxerd/recipe.sh deleted file mode 100755 index 6b0fbc5ca2f30a784ecedb8c9d85c1d5313f09a2..0000000000000000000000000000000000000000 --- a/recipes/redoxerd/recipe.sh +++ /dev/null @@ -1,13 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/redoxer.git - -function recipe_update { - cd daemon -} - -function recipe_build { - cd daemon -} - -function recipe_stage { - mv daemon/target target -} diff --git a/recipes/redoxfs/recipe.sh b/recipes/redoxfs/recipe.sh deleted file mode 100644 index 409682899fe32e7fc2a9f06cdd7596c71b7c3039..0000000000000000000000000000000000000000 --- a/recipes/redoxfs/recipe.sh +++ /dev/null @@ -1 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/redoxfs.git diff --git a/recipes/ripgrep/recipe.sh b/recipes/ripgrep/recipe.sh deleted file mode 100644 index bd1541552f629275212fd657a467d359109f5eb4..0000000000000000000000000000000000000000 --- a/recipes/ripgrep/recipe.sh +++ /dev/null @@ -1 +0,0 @@ -GIT=https://github.com/jackpot51/ripgrep.git diff --git a/recipes/sdl/recipe.sh b/recipes/sdl/recipe.sh deleted file mode 100644 index be9cbd8dd7635faa2b2fa620235b3a4d63565e01..0000000000000000000000000000000000000000 --- a/recipes/sdl/recipe.sh +++ /dev/null @@ -1,50 +0,0 @@ -VERSION=1.2.15 -TAR=https://www.libsdl.org/release/SDL-$VERSION.tar.gz -BUILD_DEPENDS=(liborbital) - -function recipe_version { - echo "$VERSION" - skip=1 -} - -function recipe_update { - echo "skipping update" - skip=1 -} - -function recipe_build { - sysroot="$(realpath ../sysroot)" - export CFLAGS="-I$sysroot/include" - export LDFLAGS="-L$sysroot/lib" - ./autogen.sh - ./configure \ - --build=${BUILD} \ - --host=${HOST} \ - --prefix=/ \ - --disable-shared \ - --disable-pulseaudio \ - --disable-video-x11 \ - --disable-loadso \ - --enable-redoxaudio \ - --enable-clock_gettime \ - --enable-video-orbital - "$REDOX_MAKE" -j"$($NPROC)" - skip=1 -} - -function recipe_test { - echo "skipping test" - skip=1 -} - -function recipe_clean { - "$REDOX_MAKE" clean - skip=1 -} - -function recipe_stage { - dest="$(realpath $1)" - "$REDOX_MAKE" DESTDIR="$dest" install - rm -f "$dest/lib/"*.la - skip=1 -} diff --git a/recipes/sed/recipe.sh b/recipes/sed/recipe.sh deleted file mode 100644 index 210a0d3923ace26426a89cc277b289302acf18f6..0000000000000000000000000000000000000000 --- a/recipes/sed/recipe.sh +++ /dev/null @@ -1,38 +0,0 @@ -VERSION=4.4 -TAR=http://ftp.gnu.org/gnu/sed/sed-$VERSION.tar.xz - -function recipe_version { - echo "$VERSION" - skip=1 -} - -function recipe_update { - echo "skipping update" - skip=1 -} - -function recipe_build { - export LDFLAGS="-static" - ./configure \ - --build=${BUILD} \ - --host=${HOST} \ - --prefix=/ - "$REDOX_MAKE" -j"$($NPROC)" - skip=1 -} - -function recipe_test { - echo "skipping test" - skip=1 -} - -function recipe_clean { - "$REDOX_MAKE" clean - skip=1 -} - -function recipe_stage { - dest="$(realpath $1)" - "$REDOX_MAKE" DESTDIR="$dest" install - skip=1 -} diff --git a/recipes/shellstorm/recipe.sh b/recipes/shellstorm/recipe.sh deleted file mode 100644 index aed89c19b677689195f52060a37b22b9c8056174..0000000000000000000000000000000000000000 --- a/recipes/shellstorm/recipe.sh +++ /dev/null @@ -1 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/shellstorm.git diff --git a/recipes/smith/recipe.sh b/recipes/smith/recipe.sh deleted file mode 100755 index 20236515dd805b192a91a89a866d1a463700bccc..0000000000000000000000000000000000000000 --- a/recipes/smith/recipe.sh +++ /dev/null @@ -1,2 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/Smith.git -GIT_UPSTREAM=https://github.com/IGI-111/Smith.git diff --git a/recipes/strace/recipe.sh b/recipes/strace/recipe.sh deleted file mode 100644 index 0b5404dcfc2288a670b506278831dc6ba461c05b..0000000000000000000000000000000000000000 --- a/recipes/strace/recipe.sh +++ /dev/null @@ -1 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/strace-redox.git diff --git a/recipes/userutils/recipe.sh b/recipes/userutils/recipe.sh deleted file mode 100644 index 08015f6557cfa49af7eb6e5bf1136b89ac378ddc..0000000000000000000000000000000000000000 --- a/recipes/userutils/recipe.sh +++ /dev/null @@ -1,43 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/userutils.git -BINS=( - id - getty - groupadd - groupmod - groupdel - login - passwd - su - sudo - useradd - usermod - userdel -) - -function recipe_stage { - # Reimplement the entire copy bc of suid - if [ "$DEBUG" == 1 ] - then - build=debug - else - build=release - fi - - mkdir -p "$1/bin" - - for bin in "${BINS[@]}" - do - "$STRIP" -v "target/$TARGET/$build/$bin" -o "$1/bin/$bin" - done - - cp -Rv "res" "$1/etc" - - ln -s id "$1/bin/whoami" - chmod +s "$1/bin/passwd" - chmod +s "$1/bin/sudo" - chmod +s "$1/bin/su" - - docgen ../source ../stage/ref - - skip=1 -} diff --git a/recipes/xz/recipe.sh b/recipes/xz/recipe.sh deleted file mode 100644 index b22738ec84cae8c648bf5d2c6984205705f82bc7..0000000000000000000000000000000000000000 --- a/recipes/xz/recipe.sh +++ /dev/null @@ -1,60 +0,0 @@ -VERSION=5.2.3 -TAR=https://codeload.github.com/xz-mirror/xz/tar.gz/v$VERSION - -function recipe_version { - echo "$VERSION" - skip=1 -} - -function recipe_update { - echo "skipping update" - skip=1 -} - -function recipe_build { - export CFLAGS="-static" - - # autogen.sh requires autopoint which is provided by the gettext homebrew - # formula on macOS. Unfortunately, homebrew does not install it into PATH - # because macOS provides the BSD gettext library. So we make sure to include - # it in PATH, preceding the default BSD version. - if [[ "$(uname)" == "Darwin" ]]; then - export PATH="/usr/local/opt/gettext/bin:$PATH" - fi - - ./autogen.sh - - chmod +w build-aux/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=/ \ - --disable-lzmadec \ - --disable-lzmainfo \ - --disable-xz \ - --disable-xzdec \ - --enable-shared=no \ - --enable-static=yes \ - --enable-threads=no \ - --with-pic=no - "$REDOX_MAKE" -j"$($NPROC)" - skip=1 -} - -function recipe_test { - echo "skipping test" - skip=1 -} - -function recipe_clean { - "$REDOX_MAKE" clean - skip=1 -} - -function recipe_stage { - dest="$(realpath $1)" - "$REDOX_MAKE" DESTDIR="$dest" install - rm -rf "$dest/share" - skip=1 -} diff --git a/recipes/zerod/recipe.sh b/recipes/zerod/recipe.sh deleted file mode 100644 index 5006bda6e4935d0af7948d69b6250620b12cd461..0000000000000000000000000000000000000000 --- a/recipes/zerod/recipe.sh +++ /dev/null @@ -1,2 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/zerod.git -CARGOFLAGS="--bin zerod -- -C lto" diff --git a/recipes/zlib/recipe.sh b/recipes/zlib/recipe.sh deleted file mode 100644 index 7ad2070bccb56a5e37ceff7e8b4cad5ca8967663..0000000000000000000000000000000000000000 --- a/recipes/zlib/recipe.sh +++ /dev/null @@ -1,35 +0,0 @@ -VERSION=1.2.11 -TAR=http://zlib.net/zlib-$VERSION.tar.gz - -function recipe_version { - echo "$VERSION" - skip=1 -} - -function recipe_update { - echo "skipping update" - skip=1 -} - -function recipe_build { - # See https://stackoverflow.com/questions/21396988/zlib-build-not-configuring-properly-with-cross-compiler-ignores-ar. - CHOST=x86_64-unknown-redox ./configure --static --prefix=/ - "$REDOX_MAKE" -j"$($NPROC)" - skip=1 -} - -function recipe_test { - echo "skipping test" - skip=1 -} - -function recipe_clean { - "$REDOX_MAKE" clean - skip=1 -} - -function recipe_stage { - dest="$(realpath $1)" - "$REDOX_MAKE" DESTDIR="$dest" install - skip=1 -}