| 1 | # Description: Very high-quality data compression program |
| 2 | # URL: http://www.bzip.org/ |
| 3 | # Maintainer: CRUX System Team, core-ports at crux dot nu |
| 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
| 5 | # Depends on: |
| 6 | |
| 7 | name=bzip2 |
| 8 | version=1.0.5 |
| 9 | release=1 |
| 10 | source=(http://www.bzip.org/$version/$name-$version.tar.gz \ |
| 11 | $name-$version.patch) |
| 12 | |
| 13 | build() { |
| 14 | cd $name-$version |
| 15 | patch -p1 -i $SRC/$name-$version.patch |
| 16 | make CC="$CC" AR="$AR" RANLIB="$RANLIB" |
| 17 | make PREFIX=$PKG/usr install |
| 18 | make -f Makefile-libbz2_so CC="$CC" |
| 19 | make -f Makefile-libbz2_so PREFIX=$PKG/usr install |
| 20 | |
| 21 | } |