Verified Commit d24375a0 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Remove old recipe.sh files

parent dbbd5b6f
GIT=https://gitlab.redox-os.org/redox-os/acid.git
GIT=https://gitlab.redox-os.org/redox-os/audiod.git
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
}
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
}
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
}
GIT=https://gitlab.redox-os.org/redox-os/cleye.git
GIT_UPSTREAM=https://github.com/evanandrewrose/cleye.git
GIT=https://gitlab.redox-os.org/redox-os/contain.git
GIT=https://gitlab.redox-os.org/redox-os/coreutils.git
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
}
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
}
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
}
GIT=https://gitlab.redox-os.org/redox-os/exampled.git
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
}
GIT=https://gitlab.redox-os.org/redox-os/extrautils.git
BUILD_DEPENDS=(xz)
GIT=https://gitlab.redox-os.org/redox-os/findutils.git
GIT_UPSTREAM=https://github.com/uutils/findutils.git
CARGOFLAGS="--bin find"
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
}
GIT=https://gitlab.redox-os.org/redox-os/games.git
GIT=https://gitlab.redox-os.org/redox-os/gdbserver.git
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
}
GIT=https://gitlab.redox-os.org/redox-os/init.git
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment