Commit | Line | Data |
---|---|---|
6dca1d21 JB |
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 | |
b751b192 | 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
6dca1d21 JB |
5 | # Depends on: |
6 | ||
7 | name=bzip2 | |
9a719059 | 8 | version=1.0.6 |
f2388520 | 9 | release=2 |
6dca1d21 | 10 | source=(http://www.bzip.org/$version/$name-$version.tar.gz \ |
9a719059 | 11 | $name.patch) |
6dca1d21 JB |
12 | |
13 | build() { | |
14 | cd $name-$version | |
f2388520 | 15 | |
9a719059 | 16 | patch -Np1 -i $SRC/$name.patch |
f2388520 | 17 | |
9a719059 | 18 | sed "s|all: libbz2.a bzip2 bzip2recover test|all: libbz2.a bzip2 bzip2recover|g" -i Makefile |
f2388520 | 19 | |
6dca1d21 JB |
20 | make CC="$CC" AR="$AR" RANLIB="$RANLIB" |
21 | make PREFIX=$PKG/usr install | |
f2388520 | 22 | |
6dca1d21 JB |
23 | make -f Makefile-libbz2_so CC="$CC" |
24 | make -f Makefile-libbz2_so PREFIX=$PKG/usr install | |
25 | ||
26 | } |