From a5e68e70c6e6eb451c5a0881d7ec0c3d20bdb71c Mon Sep 17 00:00:00 2001 From: Luka Vandervelden Date: Sat, 3 Aug 2019 12:06:11 +0200 Subject: [PATCH] Initial commit. Recipes still untested at this point. --- abuild/recipe.spec | 4 ++++ apk-tools/recipe.spec | 15 +++++++++++++++ autoconf/recipe.spec | 8 ++++++++ automake/recipe.spec | 4 ++++ binutils/recipe.spec | 12 ++++++++++++ busybox/recipe.spec | 16 ++++++++++++++++ bzip2/recipe.spec | 10 ++++++++++ clang/recipe.spec | 8 ++++++++ cmake/recipe.spec | 4 ++++ crystal/recipe.spec | 27 +++++++++++++++++++++++++++ gc/recipe.spec | 4 ++++ gcc/recipe.spec | 18 ++++++++++++++++++ gmp/recipe.spec | 4 ++++ hello/recipe.spec | 10 ++++++++++ libarchive/recipe.spec | 4 ++++ libevent/recipe.spec | 5 +++++ libffi/recipe.spec | 12 ++++++++++++ libtool/recipe.spec | 4 ++++ libyaml/recipe.spec | 7 +++++++ linux/recipe.spec | 11 +++++++++++ llvm-6/recipe.spec | 17 +++++++++++++++++ llvm-7/recipe.spec | 17 +++++++++++++++++ llvm-8/recipe.spec | 17 +++++++++++++++++ m4/recipe.spec | 7 +++++++ make/recipe.spec | 4 ++++ mpc/recipe.spec | 4 ++++ mpfr/recipe.spec | 4 ++++ musl/recipe.spec | 7 +++++++ ncurses/recipe.spec | 11 +++++++++++ openssl/recipe.spec | 7 +++++++ pcre/recipe.spec | 8 ++++++++ pcre2/recipe.spec | 4 ++++ perl/recipe.spec | 19 +++++++++++++++++++ pkg-config/recipe.spec | 7 +++++++ python/recipe.spec | 5 +++++ rc/recipe.spec | 14 ++++++++++++++ readline/recipe.spec | 4 ++++ service/recipe.spec | 4 ++++ sysvinit/recipe.spec | 10 ++++++++++ tar/recipe.spec | 7 +++++++ zlib/recipe.spec | 4 ++++ zsh/recipe.spec | 10 ++++++++++ 42 files changed, 378 insertions(+) create mode 100644 abuild/recipe.spec create mode 100644 apk-tools/recipe.spec create mode 100644 autoconf/recipe.spec create mode 100644 automake/recipe.spec create mode 100644 binutils/recipe.spec create mode 100644 busybox/recipe.spec create mode 100644 bzip2/recipe.spec create mode 100644 clang/recipe.spec create mode 100644 cmake/recipe.spec create mode 100644 crystal/recipe.spec create mode 100644 gc/recipe.spec create mode 100644 gcc/recipe.spec create mode 100644 gmp/recipe.spec create mode 100644 hello/recipe.spec create mode 100644 libarchive/recipe.spec create mode 100644 libevent/recipe.spec create mode 100644 libffi/recipe.spec create mode 100644 libtool/recipe.spec create mode 100644 libyaml/recipe.spec create mode 100644 linux/recipe.spec create mode 100644 llvm-6/recipe.spec create mode 100644 llvm-7/recipe.spec create mode 100644 llvm-8/recipe.spec create mode 100644 m4/recipe.spec create mode 100644 make/recipe.spec create mode 100644 mpc/recipe.spec create mode 100644 mpfr/recipe.spec create mode 100644 musl/recipe.spec create mode 100644 ncurses/recipe.spec create mode 100644 openssl/recipe.spec create mode 100644 pcre/recipe.spec create mode 100644 pcre2/recipe.spec create mode 100644 perl/recipe.spec create mode 100644 pkg-config/recipe.spec create mode 100644 python/recipe.spec create mode 100644 rc/recipe.spec create mode 100644 readline/recipe.spec create mode 100644 service/recipe.spec create mode 100644 sysvinit/recipe.spec create mode 100644 tar/recipe.spec create mode 100644 zlib/recipe.spec create mode 100644 zsh/recipe.spec diff --git a/abuild/recipe.spec b/abuild/recipe.spec new file mode 100644 index 0000000..64101db --- /dev/null +++ b/abuild/recipe.spec @@ -0,0 +1,4 @@ +name: abuild +version: 3.4.0 +release: 1 +sources: https://dev.alpinelinux.org/archive/abuild/abuild-%{version}.tar.xz diff --git a/apk-tools/recipe.spec b/apk-tools/recipe.spec new file mode 100644 index 0000000..cded39a --- /dev/null +++ b/apk-tools/recipe.spec @@ -0,0 +1,15 @@ +name: apk-tools +version: 2.10.4 +release: 1 +sources: https://dev.alpinelinux.org/archive/apk-tools/apk-tools-%{version}.tar.xz +options: + - make: LUAAPK= static + +@install + mkdir -p '%{pkg}/sbin' + cp apk-tools-%{version}/src/apk.static '%{pkg}/sbin/apk' + mkdir -p '%{pkg}/var/lib/apk' + mkdir -p '%{pkg}/var/cache/misc' + mkdir -p '%{pkg}/etc/apk/keys' + mkdir -p '%{pkg}/etc/apk/protected_paths.d' + diff --git a/autoconf/recipe.spec b/autoconf/recipe.spec new file mode 100644 index 0000000..d239908 --- /dev/null +++ b/autoconf/recipe.spec @@ -0,0 +1,8 @@ +name: autoconf +version: 2.69 +release: 1 +sources: https://ftp.gnu.org/gnu/autoconf/autoconf-%{version}.tar.gz +dependencies: + - m4 + - perl + diff --git a/automake/recipe.spec b/automake/recipe.spec new file mode 100644 index 0000000..8ebf6b1 --- /dev/null +++ b/automake/recipe.spec @@ -0,0 +1,4 @@ +name: automake +version: 1.16 +release: 1 +sources: https://ftp.gnu.org/gnu/automake/automake-%{version}.tar.gz diff --git a/binutils/recipe.spec b/binutils/recipe.spec new file mode 100644 index 0000000..68029b5 --- /dev/null +++ b/binutils/recipe.spec @@ -0,0 +1,12 @@ +name: binutils +version: 2.32 +release: 1 +sources: https://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.xz +options: + - configure: --disable-multilib --with-pic --disable-nls + + - make: tooldir=/usr + +@install + cd binutils-%{version} && make 'DESTDIR=%{pkg}' tooldir=/usr %{name} && rm '%{pkg}/usr/bin/strings' + diff --git a/busybox/recipe.spec b/busybox/recipe.spec new file mode 100644 index 0000000..4419a28 --- /dev/null +++ b/busybox/recipe.spec @@ -0,0 +1,16 @@ +name: busybox +version: 1.31.0 +release: 1 +sources: https://busybox.net/downloads/busybox-%{version}.tar.bz2 +@configure + cd busybox-%{version} && make defconfig + sed -i -e 's/.*CONFIG_STATIC.*/CONFIG_STATIC=y/' busybox-%{version}/.config + +@install + mkdir -p '%{pkg}/bin' + mkdir -p '%{pkg}/sbin' + mkdir -p '%{pkg}/usr/bin' + mkdir -p '%{pkg}/usr/sbin' + cp busybox-%{version}/busybox '%{pkg}/bin/busybox' + chroot '%{pkg}' /bin/busybox --%{name} -s + diff --git a/bzip2/recipe.spec b/bzip2/recipe.spec new file mode 100644 index 0000000..c057750 --- /dev/null +++ b/bzip2/recipe.spec @@ -0,0 +1,10 @@ +name: bzip2 +version: 1.0.6 +release: 1 +sources: https://downloads.sourceforge.net/project/bzip2/bzip2-%{version}.tar.gz +options: + - make install: PREFIX='%{pkg}/usr' + +@configure + sed -i.orig -e '/^CFLAGS=/s/.*/CFLAGS = -O2 -fPIC/' bzip2-%{version}/Makefile + diff --git a/clang/recipe.spec b/clang/recipe.spec new file mode 100644 index 0000000..8c361dd --- /dev/null +++ b/clang/recipe.spec @@ -0,0 +1,8 @@ +name: clang +version: 8.0.1 +release: 1 +sources: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/cfe-%{version}.src.tar.xz +dirname: build +@configure + mkdir %{dirname} && cd %{dirname} && cmake ../cfe-%{version}.src -DCMAKE_PREFIX_PATH=/usr/bad/llvm-8 -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release + diff --git a/cmake/recipe.spec b/cmake/recipe.spec new file mode 100644 index 0000000..f80885f --- /dev/null +++ b/cmake/recipe.spec @@ -0,0 +1,4 @@ +name: cmake +version: 3.15.1 +release: 1 +sources: https://github.com/Kitware/CMake/releases/download/v%{version}/cmake-%{version}.tar.gz diff --git a/crystal/recipe.spec b/crystal/recipe.spec new file mode 100644 index 0000000..c8d6c41 --- /dev/null +++ b/crystal/recipe.spec @@ -0,0 +1,27 @@ +name: crystal +version: 0.29.9 +release: 1 +sources: https://github.com/crystal-lang/crystal/archive/8b3dba72bd681118b2b761c68d7d2fdcbbbfceb2.zip +options: + - make: release=1 LLVM_CONFIG=/usr/bad/llvm-6/bin/llvm-config + +dependencies: + - libyaml + - libevent + - pcre + - openssl + +dirname: crystal-8b3dba72bd681118b2b761c68d7d2fdcbbbfceb2 +@install + set -e + cd %{dirname}; + PKG="%{pkg}"; + mkdir -p "$PKG/usr/bin"; + mkdir -p "$PKG/usr/lib/crystal/core"; + mkdir -p "$PKG/usr/share/man/man1"; + %{name} -D -m 755 .build/crystal "$PKG"/usr/bin/crystal; + %{name} -D -m 644 man/crystal.1 "$PKG"/usr/share/man/man1/crystal.1; + cp -r src/* "$PKG/usr/lib/crystal/core"; + cd "$PKG/usr/lib/crystal/core"; + nuke ext/sigfault.* llvm/ext/llvm_ext.o + diff --git a/gc/recipe.spec b/gc/recipe.spec new file mode 100644 index 0000000..1c3eef4 --- /dev/null +++ b/gc/recipe.spec @@ -0,0 +1,4 @@ +name: gc +version: 8.0.4 +release: 1 +sources: https://github.com/ivmai/bdwgc/releases/download/v%{version}/gc-%{version}.tar.gz diff --git a/gcc/recipe.spec b/gcc/recipe.spec new file mode 100644 index 0000000..ca2b1cf --- /dev/null +++ b/gcc/recipe.spec @@ -0,0 +1,18 @@ +name: gcc +version: 9.1.0 +release: 1 +sources: https://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-%{version}.tar.xz +dependencies: + - gmp + - mpfr + - mpc + - binutils + +dirname: build +@configure + set -e; + mkdir %{dirname}; + cd %{dirname}; + sed -e '/m64=/s/lib64/lib/' -i.orig ../gcc-%{version}/gcc/config/i386/t-linux64; + ../gcc-%{version}/%{name} --prefix=/usr --libdir=/usr/lib --disable-multilib --disable-libssp --disable-libmpx --disable-libmudflap --disable-libsanitizer --disable-nls --disable-werror --enable-languages=c,c++ --target=x86_64-junk-linux-musl --%{dirname}=x86_64-junk-linux-musl --host=x86_64-junk-linux-musl + diff --git a/gmp/recipe.spec b/gmp/recipe.spec new file mode 100644 index 0000000..251f2b2 --- /dev/null +++ b/gmp/recipe.spec @@ -0,0 +1,4 @@ +name: gmp +version: 6.1.2 +release: 1 +sources: https://gmplib.org/download/gmp/gmp-%{version}.tar.xz diff --git a/hello/recipe.spec b/hello/recipe.spec new file mode 100644 index 0000000..5fa58f6 --- /dev/null +++ b/hello/recipe.spec @@ -0,0 +1,10 @@ +name: hello +version: 2.10 +release: 1 +sources: https://ftp.gnu.org/gnu/hello/hello-%{version}.tar.gz +dependencies: + - gettext + +@configure + cd hello-%{version} && ./%{name} --prefix=/usr + diff --git a/libarchive/recipe.spec b/libarchive/recipe.spec new file mode 100644 index 0000000..3ccf7ba --- /dev/null +++ b/libarchive/recipe.spec @@ -0,0 +1,4 @@ +name: libarchive +version: 3.3.3 +release: 1 +sources: https://www.libarchive.org/downloads/libarchive-%{version}.tar.gz diff --git a/libevent/recipe.spec b/libevent/recipe.spec new file mode 100644 index 0000000..9e95fce --- /dev/null +++ b/libevent/recipe.spec @@ -0,0 +1,5 @@ +name: libevent +version: 2.1.10 +release: 1 +sources: https://github.com/libevent/libevent/releases/download/release-%{version}-stable/libevent-%{version}-stable.tar.gz +dirname: libevent-2.1.10-stable diff --git a/libffi/recipe.spec b/libffi/recipe.spec new file mode 100644 index 0000000..f2576c6 --- /dev/null +++ b/libffi/recipe.spec @@ -0,0 +1,12 @@ +name: libffi +version: 3.2.1 +release: 1 +sources: ftp://sourceware.org/pub/libffi/libffi-%{version}.tar.gz +@install + set -e; + cd libffi-%{version}; + make DESTDIR="%{pkg}" %{name}; + cd "%{pkg}"; + mv usr/lib/libffi-%{version}/include usr; + nuke usr/lib/libffi-%{version} + diff --git a/libtool/recipe.spec b/libtool/recipe.spec new file mode 100644 index 0000000..eb349ee --- /dev/null +++ b/libtool/recipe.spec @@ -0,0 +1,4 @@ +name: libtool +version: 2.4.6 +release: 1 +sources: http://ftpmirror.gnu.org/libtool/libtool-%{version}.tar.gz diff --git a/libyaml/recipe.spec b/libyaml/recipe.spec new file mode 100644 index 0000000..32b3b2d --- /dev/null +++ b/libyaml/recipe.spec @@ -0,0 +1,7 @@ +name: libyaml +version: 0.2.2 +release: 1 +sources: https://github.com/yaml/libyaml/archive/%{version}.tar.gz +@configure + cd libyaml-%{version} && ./bootstrap && ./%{name} --prefix=/usr + diff --git a/linux/recipe.spec b/linux/recipe.spec new file mode 100644 index 0000000..347eb04 --- /dev/null +++ b/linux/recipe.spec @@ -0,0 +1,11 @@ +name: linux +version: 5.2.4 +release: 1 +sources: https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-%{version}.tar.xz +@build + true + +@install + mkdir -p '%{pkg}/usr' + cd 'linux-%{version}' && make headers_%{name} ARCH=x86_64 INSTALL_HDR_PATH='%{pkg}/usr' + diff --git a/llvm-6/recipe.spec b/llvm-6/recipe.spec new file mode 100644 index 0000000..b30320a --- /dev/null +++ b/llvm-6/recipe.spec @@ -0,0 +1,17 @@ +name: llvm-6 +version: 6.0.1 +release: 1 +sources: http://releases.llvm.org/%{version}/llvm-%{version}.src.tar.xz +dependencies: + - libffi + +@configure + mkdir llvm-6-%{version} + cd llvm-6-%{version} && cmake ../llvm-%{version}.src -DCMAKE_INSTALL_PREFIX=/usr/bad/llvm-6 -DLLVM_BUILD_DOCS=OFF -DLLVM_BUILD_EXAMPLES=OFF -DLLVM_BUILD_EXTERNAL_COMPILER_RT=ON -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_ENABLE_ASSERTIONS=OFF -DLLVM_ENABLE_CXX1Y=ON -DLLVM_ENABLE_FFI=ON -DLLVM_ENABLE_LIBCXX=OFF -DLLVM_ENABLE_PIC=ON -DLLVM_ENABLE_RTTI=ON -DLLVM_ENABLE_SPHINX=OFF -DLLVM_ENABLE_TERMINFO=ON -DLLVM_ENABLE_ZLIB=ON -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_LINK_LLVM_DYLIB=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-fPIC -O2" -DCMAKE_C_FLAGS="-fPIC -O2" + +@build + pwd && ls && cd llvm-6-%{version} && make + +@install + cd llvm-6-%{version} && make DESTDIR='%{pkg}' %{name} + diff --git a/llvm-7/recipe.spec b/llvm-7/recipe.spec new file mode 100644 index 0000000..f5bfba2 --- /dev/null +++ b/llvm-7/recipe.spec @@ -0,0 +1,17 @@ +name: llvm-7 +version: 7.1.0 +release: 1 +sources: http://releases.llvm.org/%{version}/llvm-%{version}.src.tar.xz +dependencies: + - libffi + +@configure + mkdir llvm-7-%{version} + cd llvm-7-%{version} && cmake ../llvm-%{version}.src -DCMAKE_INSTALL_PREFIX=/usr/bad/llvm-7 -DLLVM_BUILD_DOCS=OFF -DLLVM_BUILD_EXAMPLES=OFF -DLLVM_BUILD_EXTERNAL_COMPILER_RT=ON -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_ENABLE_ASSERTIONS=OFF -DLLVM_ENABLE_CXX1Y=ON -DLLVM_ENABLE_FFI=ON -DLLVM_ENABLE_LIBCXX=OFF -DLLVM_ENABLE_PIC=ON -DLLVM_ENABLE_RTTI=ON -DLLVM_ENABLE_SPHINX=OFF -DLLVM_ENABLE_TERMINFO=ON -DLLVM_ENABLE_ZLIB=ON -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_LINK_LLVM_DYLIB=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-fPIC -O2" -DCMAKE_C_FLAGS="-fPIC -O2" + +@build + pwd && ls && cd llvm-7-%{version} && make + +@install + cd llvm-7-%{version} && make DESTDIR='%{pkg}' %{name} + diff --git a/llvm-8/recipe.spec b/llvm-8/recipe.spec new file mode 100644 index 0000000..f0b298c --- /dev/null +++ b/llvm-8/recipe.spec @@ -0,0 +1,17 @@ +name: llvm-8 +version: 8.0.0 +release: 1 +sources: http://releases.llvm.org/%{version}/llvm-%{version}.src.tar.xz +dependencies: + - libffi + +@configure + mkdir llvm-8-%{version} + cd llvm-8-%{version} && cmake ../llvm-%{version}.src -DCMAKE_INSTALL_PREFIX=/usr/bad/llvm-8 -DLLVM_BUILD_DOCS=OFF -DLLVM_BUILD_EXAMPLES=OFF -DLLVM_BUILD_EXTERNAL_COMPILER_RT=ON -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_ENABLE_ASSERTIONS=OFF -DLLVM_ENABLE_CXX1Y=ON -DLLVM_ENABLE_FFI=ON -DLLVM_ENABLE_LIBCXX=OFF -DLLVM_ENABLE_PIC=ON -DLLVM_ENABLE_RTTI=ON -DLLVM_ENABLE_SPHINX=OFF -DLLVM_ENABLE_TERMINFO=ON -DLLVM_ENABLE_ZLIB=ON -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_LINK_LLVM_DYLIB=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-fPIC -O2" -DCMAKE_C_FLAGS="-fPIC -O2" + +@build + pwd && ls && cd llvm-8-%{version} && make + +@install + cd llvm-8-%{version} && make DESTDIR='%{pkg}' %{name} + diff --git a/m4/recipe.spec b/m4/recipe.spec new file mode 100644 index 0000000..56f463e --- /dev/null +++ b/m4/recipe.spec @@ -0,0 +1,7 @@ +name: m4 +version: 1.4.18 +release: 1 +sources: https://ftp.gnu.org/gnu/m4/m4-%{version}.tar.gz +dependencies: + - perl + diff --git a/make/recipe.spec b/make/recipe.spec new file mode 100644 index 0000000..62e3850 --- /dev/null +++ b/make/recipe.spec @@ -0,0 +1,4 @@ +name: make +version: 4.2 +release: 1 +sources: https://ftp.gnu.org/gnu/make/make-%{version}.tar.gz diff --git a/mpc/recipe.spec b/mpc/recipe.spec new file mode 100644 index 0000000..734a009 --- /dev/null +++ b/mpc/recipe.spec @@ -0,0 +1,4 @@ +name: mpc +version: 1.1.0 +release: 1 +sources: https://ftp.gnu.org/gnu/mpc/mpc-%{version}.tar.gz diff --git a/mpfr/recipe.spec b/mpfr/recipe.spec new file mode 100644 index 0000000..2314a0f --- /dev/null +++ b/mpfr/recipe.spec @@ -0,0 +1,4 @@ +name: mpfr +version: 4.0.2 +release: 1 +sources: https://www.mpfr.org/mpfr-current/mpfr-%{version}.tar.xz diff --git a/musl/recipe.spec b/musl/recipe.spec new file mode 100644 index 0000000..09af31c --- /dev/null +++ b/musl/recipe.spec @@ -0,0 +1,7 @@ +name: musl +version: 1.1.23 +release: 1 +sources: https://www.musl-libc.org/releases/musl-%{version}.tar.gz +options: + - configure: --prefix=/usr --libdir=/lib --syslibdir=/lib --enable-shared --enable-static + diff --git a/ncurses/recipe.spec b/ncurses/recipe.spec new file mode 100644 index 0000000..51fc858 --- /dev/null +++ b/ncurses/recipe.spec @@ -0,0 +1,11 @@ +name: ncurses +version: 6.1 +release: 1 +sources: ftp://ftp.invisible-island.net/ncurses/ncurses-%{version}.tar.gz +options: + - configure: --enable-widec --without-ada --with-shared --enable-pc-files --disable-termcap + +@install + cd ncurses-%{version} && make 'DESTDIR=%{pkg}' %{name} + cd '%{pkg}' && rm usr/bin/clear usr/bin/reset + diff --git a/openssl/recipe.spec b/openssl/recipe.spec new file mode 100644 index 0000000..73b297a --- /dev/null +++ b/openssl/recipe.spec @@ -0,0 +1,7 @@ +name: openssl +version: 1.1.1c +release: 1 +sources: https://www.openssl.org/source/openssl-%{version}.tar.gz +@configure + cd openssl-%{version} && ./Configure --prefix=/usr linux-x86_64 + diff --git a/pcre/recipe.spec b/pcre/recipe.spec new file mode 100644 index 0000000..942756b --- /dev/null +++ b/pcre/recipe.spec @@ -0,0 +1,8 @@ +name: pcre +version: 8.43 +release: 1 +sources: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-%{version}.tar.gz +options: + - configure: --enable-utf8 --enable-unicode-properties --enable-pcre8 --enable-pcre16 --enable-pcre32 --with-match-limit-recursion=8192 + + diff --git a/pcre2/recipe.spec b/pcre2/recipe.spec new file mode 100644 index 0000000..4faa729 --- /dev/null +++ b/pcre2/recipe.spec @@ -0,0 +1,4 @@ +name: pcre2 +version: 10.33 +release: 1 +sources: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre2-%{version}.tar.gz diff --git a/perl/recipe.spec b/perl/recipe.spec new file mode 100644 index 0000000..478989c --- /dev/null +++ b/perl/recipe.spec @@ -0,0 +1,19 @@ +name: perl +version: 5.30.0 +release: 1 +sources: https://www.cpan.org/src/5.0/perl-%{version}.tar.gz +dependencies: + - zlib + - bzip2 + +@build + set -e -x; + cd perl-%{version}; + BUILD_ZLIB=0; + BUILD_BZIP2=0; + BZIP2_LIB=/usr/lib; + BZIP2_INCLUDE=/usr/inculde; + export BUILD_ZLIB BUILD_BZIP2 BZIP2_LIB BZIP2_INCLUDE; + ./Configure -des -Dcccdlflags='-fPIC' -Dcccdlflags='-fPIC' -Dccdlflags='-rdynamic' -Dprefix=/usr -Uprivlib=$_privlib -Darchlib=$_archlib -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5/vendor_perl -Dvendorarch=/usr/lib/perl5/vendor_perl -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl5/site_perl -Dsitearch=/usr/local/lib/perl5/site_perl -Dlocincpth=' ' -Dcc=gcc -Uoptimize="$CFLAGS" -Duselargefiles -Dusethreads -Duseshrplib -Dd_semctl_semun -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dinstallman1dir=/usr/share/man/man1 -Dinstallman3dir=/usr/share/man/man3 -Dman1ext='1' -Dman3ext='3pm' -Dcf_by='Alpine' -Ud_csh -Dusenm || return 1 + make libperl.so && make || return 1 + diff --git a/pkg-config/recipe.spec b/pkg-config/recipe.spec new file mode 100644 index 0000000..3c42773 --- /dev/null +++ b/pkg-config/recipe.spec @@ -0,0 +1,7 @@ +name: pkg-config +version: 0.29.2 +release: 1 +sources: http://pkgconfig.freedesktop.org/releases/pkg-config-%{version}.tar.gz +options: + - configure: --with-internal-glib + diff --git a/python/recipe.spec b/python/recipe.spec new file mode 100644 index 0000000..d79f3b1 --- /dev/null +++ b/python/recipe.spec @@ -0,0 +1,5 @@ +name: python +version: 3.7.4 +release: 1 +sources: https://www.python.org/ftp/python/%{version}/Python-%{version}.tgz +dirname: Python-3.7.4 diff --git a/rc/recipe.spec b/rc/recipe.spec new file mode 100644 index 0000000..a6ac1bc --- /dev/null +++ b/rc/recipe.spec @@ -0,0 +1,14 @@ +name: rc +version: 0.0.1 +release: 1 +sources: https://git.karchnu.fr/JunkOS/rc/archive/579e431144e33b2510260b1bce5505fd328d2961.tar.gz +@configure + true + +@build + true + +@install + mkdir -p '%{pkg}/etc' + cp rc/* '%{pkg}/etc/' + diff --git a/readline/recipe.spec b/readline/recipe.spec new file mode 100644 index 0000000..bbc4de0 --- /dev/null +++ b/readline/recipe.spec @@ -0,0 +1,4 @@ +name: readline +version: 8.0 +release: 1 +sources: ftp://ftp.gnu.org/gnu/readline/readline-%{version}.tar.gz diff --git a/service/recipe.spec b/service/recipe.spec new file mode 100644 index 0000000..0a4d733 --- /dev/null +++ b/service/recipe.spec @@ -0,0 +1,4 @@ +name: service +version: 0.0.1 +release: 1 +sources: diff --git a/sysvinit/recipe.spec b/sysvinit/recipe.spec new file mode 100644 index 0000000..3b6fc6f --- /dev/null +++ b/sysvinit/recipe.spec @@ -0,0 +1,10 @@ +name: sysvinit +version: 2.95 +release: 1 +sources: https://git.savannah.nongnu.org/cgit/sysvinit.git/snapshot/sysvinit-%{version}.tar.gz +dependencies: + - util-linux + +@install + cd sysvinit-%{version} && make ROOT='%{pkg}' %{name} + diff --git a/tar/recipe.spec b/tar/recipe.spec new file mode 100644 index 0000000..1da6c77 --- /dev/null +++ b/tar/recipe.spec @@ -0,0 +1,7 @@ +name: tar +version: 1.32 +release: 1 +sources: http://ftp.gnu.org/gnu/tar/tar-%{version}.tar.gz +options: + - configure: FORCE_UNSAFE_CONFIGURE=1 + diff --git a/zlib/recipe.spec b/zlib/recipe.spec new file mode 100644 index 0000000..095ba68 --- /dev/null +++ b/zlib/recipe.spec @@ -0,0 +1,4 @@ +name: zlib +version: 1.2.11 +release: 1 +sources: https://www.zlib.net/zlib-%{version}.tar.gz diff --git a/zsh/recipe.spec b/zsh/recipe.spec new file mode 100644 index 0000000..0735ef7 --- /dev/null +++ b/zsh/recipe.spec @@ -0,0 +1,10 @@ +name: zsh +version: 5.7.1 +release: 1 +sources: https://downloads.sourceforge.net/project/zsh/zsh/%{version}/zsh-%{version}.tar.xz +options: + - configure: --with-tcsetpgrp + +dependencies: + - ncurses +