CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
rsync: updated source
[crossrootfs.git] / lzo / Pkgfile
1 # Description: A portable lossless data compression library
2 # URL: http://www.oberhumer.com/opensource/lzo/
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
6 name=lzo
7 version=2.10
8 release=1
9 source=(http://www.oberhumer.com/opensource/lzo/download/$name-$version.tar.gz)
10
11 build() {
12 cd $name-$version
13
14 ./configure --build=$CHOST \
15 --host=$CTARGET \
16 --prefix=/usr \
17 --enable-shared
18 make
19 make DESTDIR=$PKG install
20
21 install -d $PKG/lib
22 mv $PKG/usr/lib/liblzo2.so.* $PKG/lib
23 ln -sf ../../lib/$(readlink $PKG/lib/liblzo2.so.2) $PKG/usr/lib/liblzo2.so
24
25 rm -r $PKG/usr/share
26 }