1
0
forked from ports/contrib
contrib-tek/lzo/Pkgfile

25 lines
588 B
Plaintext
Raw Normal View History

2006-12-05 05:54:13 +11:00
# Description: A data compression library suitable for data de-/compression in real-time.
# URL: http://www.oberhumer.com/opensource/lzo/
2008-03-26 13:45:31 +11:00
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
2006-12-05 05:54:13 +11:00
# Packager: Younes Hafri, ycrux at club-internet dot fr
2007-04-01 19:01:46 +10:00
name=lzo
2011-01-09 18:56:06 +11:00
version=2.04
2008-05-01 17:00:37 +10:00
release=1
2006-12-05 05:54:13 +11:00
source=(http://www.oberhumer.com/opensource/lzo/download/lzo-$version.tar.gz)
build() {
cd lzo-$version
./configure \
--prefix=/usr \
2008-05-01 17:00:37 +10:00
--disable-static \
2006-12-05 05:54:13 +11:00
--enable-shared
2007-04-01 19:01:46 +10:00
make
make prefix=$PKG/usr install
2006-12-05 05:54:13 +11:00
ln -s liblzo2.so.2.0.0 $PKG/usr/lib/liblzo.so
2008-05-01 17:00:37 +10:00
chmod a-x $PKG/usr/lib/*.so
2006-12-05 05:54:13 +11:00
}