Archived
3
0

Initial commit.

Recipes still untested at this point.
This commit is contained in:
Luka Vandervelden 2019-08-03 12:06:11 +02:00
commit a5e68e70c6
42 changed files with 378 additions and 0 deletions

4
abuild/recipe.spec Normal file
View File

@ -0,0 +1,4 @@
name: abuild
version: 3.4.0
release: 1
sources: https://dev.alpinelinux.org/archive/abuild/abuild-%{version}.tar.xz

15
apk-tools/recipe.spec Normal file
View File

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

8
autoconf/recipe.spec Normal file
View File

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

4
automake/recipe.spec Normal file
View File

@ -0,0 +1,4 @@
name: automake
version: 1.16
release: 1
sources: https://ftp.gnu.org/gnu/automake/automake-%{version}.tar.gz

12
binutils/recipe.spec Normal file
View File

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

16
busybox/recipe.spec Normal file
View File

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

10
bzip2/recipe.spec Normal file
View File

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

8
clang/recipe.spec Normal file
View File

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

4
cmake/recipe.spec Normal file
View File

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

27
crystal/recipe.spec Normal file
View File

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

4
gc/recipe.spec Normal file
View File

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

18
gcc/recipe.spec Normal file
View File

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

4
gmp/recipe.spec Normal file
View File

@ -0,0 +1,4 @@
name: gmp
version: 6.1.2
release: 1
sources: https://gmplib.org/download/gmp/gmp-%{version}.tar.xz

10
hello/recipe.spec Normal file
View File

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

4
libarchive/recipe.spec Normal file
View File

@ -0,0 +1,4 @@
name: libarchive
version: 3.3.3
release: 1
sources: https://www.libarchive.org/downloads/libarchive-%{version}.tar.gz

5
libevent/recipe.spec Normal file
View File

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

12
libffi/recipe.spec Normal file
View File

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

4
libtool/recipe.spec Normal file
View File

@ -0,0 +1,4 @@
name: libtool
version: 2.4.6
release: 1
sources: http://ftpmirror.gnu.org/libtool/libtool-%{version}.tar.gz

7
libyaml/recipe.spec Normal file
View File

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

11
linux/recipe.spec Normal file
View File

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

17
llvm-6/recipe.spec Normal file
View File

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

17
llvm-7/recipe.spec Normal file
View File

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

17
llvm-8/recipe.spec Normal file
View File

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

7
m4/recipe.spec Normal file
View File

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

4
make/recipe.spec Normal file
View File

@ -0,0 +1,4 @@
name: make
version: 4.2
release: 1
sources: https://ftp.gnu.org/gnu/make/make-%{version}.tar.gz

4
mpc/recipe.spec Normal file
View File

@ -0,0 +1,4 @@
name: mpc
version: 1.1.0
release: 1
sources: https://ftp.gnu.org/gnu/mpc/mpc-%{version}.tar.gz

4
mpfr/recipe.spec Normal file
View File

@ -0,0 +1,4 @@
name: mpfr
version: 4.0.2
release: 1
sources: https://www.mpfr.org/mpfr-current/mpfr-%{version}.tar.xz

7
musl/recipe.spec Normal file
View File

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

11
ncurses/recipe.spec Normal file
View File

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

7
openssl/recipe.spec Normal file
View File

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

8
pcre/recipe.spec Normal file
View File

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

4
pcre2/recipe.spec Normal file
View File

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

19
perl/recipe.spec Normal file
View File

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

7
pkg-config/recipe.spec Normal file
View File

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

5
python/recipe.spec Normal file
View File

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

14
rc/recipe.spec Normal file
View File

@ -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/'

4
readline/recipe.spec Normal file
View File

@ -0,0 +1,4 @@
name: readline
version: 8.0
release: 1
sources: ftp://ftp.gnu.org/gnu/readline/readline-%{version}.tar.gz

4
service/recipe.spec Normal file
View File

@ -0,0 +1,4 @@
name: service
version: 0.0.1
release: 1
sources:

10
sysvinit/recipe.spec Normal file
View File

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

7
tar/recipe.spec Normal file
View File

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

4
zlib/recipe.spec Normal file
View File

@ -0,0 +1,4 @@
name: zlib
version: 1.2.11
release: 1
sources: https://www.zlib.net/zlib-%{version}.tar.gz

10
zsh/recipe.spec Normal file
View File

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