forked from ports/contrib
26 lines
588 B
Plaintext
26 lines
588 B
Plaintext
# Description: A data compression library suitable for data de-/compression in real-time.
|
|
# URL: http://www.oberhumer.com/opensource/lzo/
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
# Packager: Younes Hafri, ycrux at club-internet dot fr
|
|
|
|
name=lzo
|
|
version=2.06
|
|
release=1
|
|
source=(http://www.oberhumer.com/opensource/lzo/download/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--enable-shared
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
ln -s liblzo2.so.2.0.0 $PKG/usr/lib/liblzo.so
|
|
|
|
rm -r $PKG/usr/share/doc
|
|
rmdir $PKG/usr/share
|
|
}
|