wok annotate lzo/receipt @ rev 2765
Add printer drivers: hplip, gutneprint, foomatic, pnm2ppa
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Sun Apr 26 16:04:40 2009 +0000 (2009-04-26) |
parents | f808fda230ba |
children | b6a45e3d8aab |
rev | line source |
---|---|
erjo@252 | 1 # SliTaz package receipt. |
erjo@252 | 2 |
erjo@252 | 3 PACKAGE="lzo" |
erjo@252 | 4 VERSION="2.02" |
erjo@252 | 5 CATEGORY="system-tools" |
erjo@252 | 6 SHORT_DESC="Data compression library" |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@252 | 8 DEPENDS="" |
erjo@252 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@252 | 10 WEB_SITE="http://www.oberhumer.com/opensource/lzo/download/" |
erjo@252 | 11 WGET_URL="http://www.oberhumer.com/opensource/lzo/download/$TARBALL" |
erjo@252 | 12 |
erjo@252 | 13 # Rules to configure and make the package. |
erjo@252 | 14 compile_rules() |
erjo@252 | 15 { |
erjo@252 | 16 cd $src |
erjo@252 | 17 ./configure --prefix=/usr \ |
erjo@252 | 18 --enable-shared $CONFIGURE_ARGS |
erjo@252 | 19 make |
erjo@252 | 20 make DESTDIR=$PWD/_pkg install |
erjo@252 | 21 } |
erjo@252 | 22 |
erjo@252 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@252 | 24 genpkg_rules() |
erjo@252 | 25 { |
erjo@252 | 26 mkdir -p $fs/usr/lib |
erjo@252 | 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@252 | 28 strip -s $fs/usr/lib/*.so* |
erjo@252 | 29 } |
erjo@252 | 30 |