pthbs

Packaging Through Hashed Build Scripts
git clone https://ccx.te2000.cz/git/pthbs
Log | Files | Refs | Submodules | README

packages.aat (1835B)


      1 |start_package("musl-cross-make")
      2 	awk -vPWD="$PWD" '{gsub(/@@PWD@@/,PWD); print}' musl-cross-make.config.mak >musl-cross-make/config.mak.new || exit $?
      3 	mv musl-cross-make/config.mak.new musl-cross-make/config.mak || exit $?
      4 	make -C musl-cross-make -j$JOBS -l$JOBS || exit $?
      5 	make -C musl-cross-make install || exit $?
      6 |end()
      7 |start_package("skalibs")
      8 	git checkout --force || exit $?
      9 	git clean -fx || exit $?
     10 	./configure --disable-shared --enable-static --enable-slashpackage="$slashpackage" || exit $?
     11 	make -j${jobs} || exit $?
     12 	make install || exit $?
     13 	make -L update || exit $?
     14 	make -L global-links || exit $?
     15 |end()
     16 |start_package("s6")
     17 	git checkout --force || exit $?
     18 	git clean -fx || exit $?
     19 	#patch -up 1 -i ../s6_clone_newpid.patch || exit $?
     20 	patch -up 1 -i ../s6_clone3_newpid.patch || exit $?
     21 	./configure --disable-shared --enable-static --enable-allstatic --enable-static-libc --enable-slashpackage="$slashpackage" || exit $?
     22 	make -j${jobs} CFLAGS=-DWANT_CLONE_NEWPID || exit $?
     23 	make install || exit $?
     24 	make -L update || exit $?
     25 	make -L global-links || exit $?
     26 |end()
     27 @for p in packages
     28 |start
     29 	git checkout --force || exit $?
     30 	git clean -fx || exit $?
     31 	./configure --disable-shared --enable-static --enable-allstatic --enable-static-libc --enable-slashpackage="$slashpackage" || exit $?
     32 	make -j${jobs} || exit $?
     33 	make install || exit $?
     34 	make -L update || exit $?
     35 	make -L global-links || exit $?
     36 |end()
     37 @endfor
     38 |# (cd execline && install_generic) || exit $?
     39 |# (cd s6-rc && install_generic) || exit $?
     40 |# (cd s6-portable-utils && install_generic) || exit $?
     41 |# (cd s6-linux-utils && install_generic) || exit $?
     42 |# (cd s6-linux-init && install_generic) || exit $?
     43 |# (cd mdevd && install_generic) || exit $?
     44 |# (cd s6-dns && install_generic) || exit $?
     45 |# (cd s6-networking && install_generic) || exit $?