From d24375a02ce040c99e648b4399d2bc30c6403a54 Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jackpot51@gmail.com> Date: Fri, 11 Mar 2022 15:38:04 -0700 Subject: [PATCH] Remove old recipe.sh files --- recipes/acid/recipe.sh | 1 - recipes/audiod/recipe.sh | 1 - recipes/bash/recipe.sh | 44 ----------------------- recipes/bootloader/recipe.sh | 32 ----------------- recipes/ca-certificates/recipe.sh | 39 -------------------- recipes/cleye/recipe.sh | 2 -- recipes/contain/recipe.sh | 1 - recipes/coreutils/recipe.sh | 1 - recipes/curl/recipe.sh | 58 ------------------------------ recipes/dash/recipe.sh | 44 ----------------------- recipes/drivers/recipe.sh | 20 ----------- recipes/exampled/recipe.sh | 1 - recipes/expat/recipe.sh | 36 ------------------- recipes/extrautils/recipe.sh | 2 -- recipes/findutils/recipe.sh | 3 -- recipes/freetype/recipe.sh | 39 -------------------- recipes/games/recipe.sh | 1 - recipes/gdbserver/recipe.sh | 1 - recipes/gettext/recipe.sh | 51 -------------------------- recipes/init/recipe.sh | 1 - recipes/installer/recipe.sh | 1 - recipes/ion/recipe.sh | 2 -- recipes/ipcd/recipe.sh | 2 -- recipes/libffi/recipe.sh | 45 ----------------------- recipes/libiconv/recipe.sh | 42 ---------------------- recipes/libjpeg/recipe.sh | 36 ------------------- recipes/libogg/recipe.sh | 41 --------------------- recipes/liborbital/recipe.sh | 7 ---- recipes/libpng/recipe.sh | 41 --------------------- recipes/libsodium/recipe.sh | 35 ------------------ recipes/libvorbis/recipe.sh | 40 --------------------- recipes/libxml2/recipe.sh | 45 ----------------------- recipes/logd/recipe.sh | 1 - recipes/nasm/recipe.sh | 36 ------------------- recipes/netdb/recipe.sh | 31 ---------------- recipes/netstack/recipe.sh | 1 - recipes/netutils/recipe.sh | 2 -- recipes/nghttp2/recipe.sh | 41 --------------------- recipes/nulld/recipe.sh | 2 -- recipes/openssl/recipe.sh | 36 ------------------- recipes/orbdata/recipe.sh | 32 ----------------- recipes/orbital/recipe.sh | 3 -- recipes/orbterm/recipe.sh | 4 --- recipes/orbutils/recipe.sh | 3 -- recipes/pciids/recipe.sh | 14 -------- recipes/pcre/recipe.sh | 44 ----------------------- recipes/pkgar/recipe.sh | 1 - recipes/pkgutils/recipe.sh | 1 - recipes/ptyd/recipe.sh | 2 -- recipes/ramfs/recipe.sh | 1 - recipes/randd/recipe.sh | 2 -- recipes/redoxerd/recipe.sh | 13 ------- recipes/redoxfs/recipe.sh | 1 - recipes/ripgrep/recipe.sh | 1 - recipes/sdl/recipe.sh | 50 -------------------------- recipes/sed/recipe.sh | 38 -------------------- recipes/shellstorm/recipe.sh | 1 - recipes/smith/recipe.sh | 2 -- recipes/strace/recipe.sh | 1 - recipes/userutils/recipe.sh | 43 ---------------------- recipes/xz/recipe.sh | 60 ------------------------------- recipes/zerod/recipe.sh | 2 -- recipes/zlib/recipe.sh | 35 ------------------ 63 files changed, 1219 deletions(-) delete mode 100644 recipes/acid/recipe.sh delete mode 100644 recipes/audiod/recipe.sh delete mode 100644 recipes/bash/recipe.sh delete mode 100644 recipes/bootloader/recipe.sh delete mode 100644 recipes/ca-certificates/recipe.sh delete mode 100755 recipes/cleye/recipe.sh delete mode 100644 recipes/contain/recipe.sh delete mode 100644 recipes/coreutils/recipe.sh delete mode 100644 recipes/curl/recipe.sh delete mode 100644 recipes/dash/recipe.sh delete mode 100644 recipes/drivers/recipe.sh delete mode 100644 recipes/exampled/recipe.sh delete mode 100644 recipes/expat/recipe.sh delete mode 100644 recipes/extrautils/recipe.sh delete mode 100644 recipes/findutils/recipe.sh delete mode 100644 recipes/freetype/recipe.sh delete mode 100644 recipes/games/recipe.sh delete mode 100644 recipes/gdbserver/recipe.sh delete mode 100644 recipes/gettext/recipe.sh delete mode 100644 recipes/init/recipe.sh delete mode 100644 recipes/installer/recipe.sh delete mode 100644 recipes/ion/recipe.sh delete mode 100644 recipes/ipcd/recipe.sh delete mode 100644 recipes/libffi/recipe.sh delete mode 100644 recipes/libiconv/recipe.sh delete mode 100644 recipes/libjpeg/recipe.sh delete mode 100644 recipes/libogg/recipe.sh delete mode 100644 recipes/liborbital/recipe.sh delete mode 100644 recipes/libpng/recipe.sh delete mode 100644 recipes/libsodium/recipe.sh delete mode 100644 recipes/libvorbis/recipe.sh delete mode 100755 recipes/libxml2/recipe.sh delete mode 100644 recipes/logd/recipe.sh delete mode 100644 recipes/nasm/recipe.sh delete mode 100644 recipes/netdb/recipe.sh delete mode 100644 recipes/netstack/recipe.sh delete mode 100644 recipes/netutils/recipe.sh delete mode 100644 recipes/nghttp2/recipe.sh delete mode 100644 recipes/nulld/recipe.sh delete mode 100644 recipes/openssl/recipe.sh delete mode 100644 recipes/orbdata/recipe.sh delete mode 100644 recipes/orbital/recipe.sh delete mode 100644 recipes/orbterm/recipe.sh delete mode 100644 recipes/orbutils/recipe.sh delete mode 100644 recipes/pciids/recipe.sh delete mode 100644 recipes/pcre/recipe.sh delete mode 100644 recipes/pkgar/recipe.sh delete mode 100644 recipes/pkgutils/recipe.sh delete mode 100644 recipes/ptyd/recipe.sh delete mode 100644 recipes/ramfs/recipe.sh delete mode 100644 recipes/randd/recipe.sh delete mode 100755 recipes/redoxerd/recipe.sh delete mode 100644 recipes/redoxfs/recipe.sh delete mode 100644 recipes/ripgrep/recipe.sh delete mode 100644 recipes/sdl/recipe.sh delete mode 100644 recipes/sed/recipe.sh delete mode 100644 recipes/shellstorm/recipe.sh delete mode 100755 recipes/smith/recipe.sh delete mode 100644 recipes/strace/recipe.sh delete mode 100644 recipes/userutils/recipe.sh delete mode 100644 recipes/xz/recipe.sh delete mode 100644 recipes/zerod/recipe.sh delete mode 100644 recipes/zlib/recipe.sh diff --git a/recipes/acid/recipe.sh b/recipes/acid/recipe.sh deleted file mode 100644 index 8704aff26..000000000 --- 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 d082f464e..000000000 --- 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 d5545b2b0..000000000 --- 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 b91ed3e5c..000000000 --- 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 c41b21069..000000000 --- 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 86eeca2ba..000000000 --- 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 b4a28108d..000000000 --- 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 f95584996..000000000 --- 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 e9554ac4b..000000000 --- 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 b4e9ee7e3..000000000 --- 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 04add3f4e..000000000 --- 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 b56a7b49f..000000000 --- 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 9a0dbaaa8..000000000 --- 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 c046ce052..000000000 --- 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 e140a2f97..000000000 --- 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 ae71650c8..000000000 --- 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 b0aa22fc8..000000000 --- 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 9df333cc5..000000000 --- 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 bffce9cc7..000000000 --- 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 bdc53785a..000000000 --- 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 7717fe61a..000000000 --- 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 fac212ec2..000000000 --- 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 d500b6447..000000000 --- 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 b7f841c39..000000000 --- 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 5879cc93a..000000000 --- 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 fa6d48ae8..000000000 --- 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 0472da582..000000000 --- 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 8e08a8fec..000000000 --- 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 5c30af562..000000000 --- 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 fa86e9a16..000000000 --- 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 fd98adbc7..000000000 --- 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 da0b938f3..000000000 --- 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 cffbc308a..000000000 --- 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 c419a2712..000000000 --- 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 12503ac97..000000000 --- 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 8b826c558..000000000 --- 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 2c79d7ea8..000000000 --- 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 ee980382d..000000000 --- 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 a5944d526..000000000 --- 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 48b929ce3..000000000 --- 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 8ad1f85e3..000000000 --- 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 68484f398..000000000 --- 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 9976d87ac..000000000 --- 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 281976f97..000000000 --- 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 2e1c48bf3..000000000 --- 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 2592d1113..000000000 --- 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 ca4d5f3b3..000000000 --- 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 9af1a4378..000000000 --- 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 558bbf5d4..000000000 --- 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 f583f5c31..000000000 --- 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 a3e93aada..000000000 --- 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 6b0fbc5ca..000000000 --- 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 409682899..000000000 --- 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 bd1541552..000000000 --- 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 be9cbd8dd..000000000 --- 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 210a0d392..000000000 --- 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 aed89c19b..000000000 --- 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 20236515d..000000000 --- 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 0b5404dcf..000000000 --- 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 08015f655..000000000 --- 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 b22738ec8..000000000 --- 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 5006bda6e..000000000 --- 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 7ad2070bc..000000000 --- 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 -} -- GitLab