Remove old recipe.sh files

This commit is contained in:
Jeremy Soller 2022-03-11 15:38:04 -07:00
parent dbbd5b6f25
commit d24375a02c
No known key found for this signature in database
GPG Key ID: 87F211AF2BE4C2FE
63 changed files with 0 additions and 1219 deletions

View File

@ -1 +0,0 @@
GIT=https://gitlab.redox-os.org/redox-os/acid.git

View File

@ -1 +0,0 @@
GIT=https://gitlab.redox-os.org/redox-os/audiod.git

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -1,2 +0,0 @@
GIT=https://gitlab.redox-os.org/redox-os/cleye.git
GIT_UPSTREAM=https://github.com/evanandrewrose/cleye.git

View File

@ -1 +0,0 @@
GIT=https://gitlab.redox-os.org/redox-os/contain.git

View File

@ -1 +0,0 @@
GIT=https://gitlab.redox-os.org/redox-os/coreutils.git

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -1 +0,0 @@
GIT=https://gitlab.redox-os.org/redox-os/exampled.git

View File

@ -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
}

View File

@ -1,2 +0,0 @@
GIT=https://gitlab.redox-os.org/redox-os/extrautils.git
BUILD_DEPENDS=(xz)

View File

@ -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"

View File

@ -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
}

View File

@ -1 +0,0 @@
GIT=https://gitlab.redox-os.org/redox-os/games.git

View File

@ -1 +0,0 @@
GIT=https://gitlab.redox-os.org/redox-os/gdbserver.git

View File

@ -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
}

View File

@ -1 +0,0 @@
GIT=https://gitlab.redox-os.org/redox-os/init.git

View File

@ -1 +0,0 @@
GIT=https://gitlab.redox-os.org/redox-os/installer.git

View File

@ -1,2 +0,0 @@
GIT=https://gitlab.redox-os.org/redox-os/ion.git
BRANCH=master

View File

@ -1,2 +0,0 @@
GIT=https://gitlab.redox-os.org/redox-os/ipcd.git
CARGOFLAGS="--bin ipcd -- -C lto"

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -1 +0,0 @@
GIT=https://gitlab.redox-os.org/redox-os/logd.git

View File

@ -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
}

View File

@ -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
}

View File

@ -1 +0,0 @@
GIT=https://gitlab.redox-os.org/redox-os/netstack.git

View File

@ -1,2 +0,0 @@
GIT=https://gitlab.redox-os.org/redox-os/netutils.git
BRANCH=redox-unix

View File

@ -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
}

View File

@ -1,2 +0,0 @@
GIT=https://gitlab.redox-os.org/redox-os/nulld.git
CARGOFLAGS="--bin nulld -- -C lto"

View File

@ -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
}

View File

@ -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
}

View File

@ -1,3 +0,0 @@
GIT=https://gitlab.redox-os.org/redox-os/orbital.git
CARGOFLAGS="--bin orbital -- -C lto"
DEPENDS="orbdata"

View File

@ -1,4 +0,0 @@
GIT=https://gitlab.redox-os.org/redox-os/orbterm.git
BINDIR=/ui/bin
CARGOFLAGS="--bin orbterm -- -C lto"
DEPENDS="orbital"

View File

@ -1,3 +0,0 @@
GIT=https://gitlab.redox-os.org/redox-os/orbutils.git
BINDIR=/ui/bin
DEPENDS="orbital"

View File

@ -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
}

View File

@ -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
}

View File

@ -1 +0,0 @@
GIT=https://gitlab.redox-os.org/redox-os/pkgar.git

View File

@ -1 +0,0 @@
GIT=https://gitlab.redox-os.org/redox-os/pkgutils.git

View File

@ -1,2 +0,0 @@
GIT=https://gitlab.redox-os.org/redox-os/ptyd.git
CARGOFLAGS="--bin ptyd -- -C lto"

View File

@ -1 +0,0 @@
GIT=https://gitlab.redox-os.org/redox-os/ramfs.git

View File

@ -1,2 +0,0 @@
GIT=https://gitlab.redox-os.org/redox-os/randd.git
CARGOFLAGS="--bin randd -- -C lto"

View File

@ -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
}

View File

@ -1 +0,0 @@
GIT=https://gitlab.redox-os.org/redox-os/redoxfs.git

View File

@ -1 +0,0 @@
GIT=https://github.com/jackpot51/ripgrep.git

View File

@ -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
}

View File

@ -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
}

View File

@ -1 +0,0 @@
GIT=https://gitlab.redox-os.org/redox-os/shellstorm.git

View File

@ -1,2 +0,0 @@
GIT=https://gitlab.redox-os.org/redox-os/Smith.git
GIT_UPSTREAM=https://github.com/IGI-111/Smith.git

View File

@ -1 +0,0 @@
GIT=https://gitlab.redox-os.org/redox-os/strace-redox.git

View File

@ -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
}

View File

@ -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
}

View File

@ -1,2 +0,0 @@
GIT=https://gitlab.redox-os.org/redox-os/zerod.git
CARGOFLAGS="--bin zerod -- -C lto"

View File

@ -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
}