X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fpkg%2Fbzip2;fp=stage1%2Fpkg%2Fbzip2;h=bedd643674f48566e61159a4d9d21e80b60f71bc;hb=69ac3e7cf686f8e95e47a7ab89bc38796aace488;hp=0000000000000000000000000000000000000000;hpb=f41e274186ffbed8f6bdc4d44da23758c83f1bb9;p=hvlinux.git diff --git a/stage1/pkg/bzip2 b/stage1/pkg/bzip2 new file mode 100644 index 0000000..bedd643 --- /dev/null +++ b/stage1/pkg/bzip2 @@ -0,0 +1,17 @@ +#!/bin/bash + +# This package doesn't have a configure script... +hvconfigure() +{ + cd ${LFS_TMP}/${PACKAGE} + + # Bzip2's default Makefile target automatically runs the testsuite as well. + # Disable the tests since they won't work on a multi-architecture build: + sed -e 's@^\(all:.*\) test@\1@g' -i Makefile +} + +hvbuild() +{ + ${HVMAKE} CC="${CC} ${CLFS_BUILDFLAGS}" AR="${AR}" RANLIB="${RANLIB}" + ${HVMAKE} PREFIX=/tools install +}