blob: cf8d98921403acfb86871559401b55b18bc05315 (
plain)
1 # Description: Very high-quality data compression program
2 # URL: http://www.bzip.org/
3 # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
4
5 name=bzip2-32
6 version=1.0.8
7 release=1
8 source=(https://sourceware.org/pub/${name%-*}/${name%-*}-$version.tar.gz)
9
10 build() {
11 cd ${name%-*}-$version
12
13 install -d $PKG/usr/lib32
14
15 make -f Makefile-libbz2_so CC="gcc $CFLAGS $LDFLAGS"
16 install -m 0644 libbz2.so.$version $PKG/usr/lib32
17 ln -s libbz2.so.$version $PKG/usr/lib32/libbz2.so
18 ln -s libbz2.so.$version $PKG/usr/lib32/libbz2.so.1.0
19
20 make libbz2.a CC="gcc $CFLAGS $LDFLAGS"
21 install -m 0644 libbz2.a $PKG/usr/lib32
22 }
|