CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
78cca567b3382eb1890a1913a92f81a31ffadccd
[crossrootfs.git] / xz / Pkgfile
1 # Description: Compression utility using the lzma algorithm, successor of lzma-utils
2 # URL: http://tukaani.org/xz/
3 # Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5 # Depends on:
6
7 name=xz
8 version=5.0.2
9 release=1
10 source=(http://tukaani.org/xz/$name-$version.tar.bz2)
11
12 build() {
13 cd $name-$version
14
15 ./configure --build=$CHOST \
16 --host=$CTARGET \
17 --prefix=/usr \
18 --mandir=/usr/man \
19 --disable-nls
20
21 make
22 make DESTDIR=$PKG install
23
24 ln -s liblzma.so.$version $PKG/usr/lib/liblzma.so.0
25 rm -r $PKG/usr/share
26 }