wok view lzo/receipt @ rev 7712

yasr: add post install
author Paul Issott <paul@slitaz.org>
date Sun Dec 19 15:51:06 2010 +0000 (2010-12-19)
parents a075ff895254
children 02bbaa9d12ba
line source
1 # SliTaz package receipt.
3 PACKAGE="lzo"
4 VERSION="2.04"
5 CATEGORY="system-tools"
6 SHORT_DESC="Data compression library"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.oberhumer.com/opensource/lzo/download/"
11 WGET_URL="http://www.oberhumer.com/opensource/lzo/download/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr \
18 --enable-shared $CONFIGURE_ARGS
19 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib
27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
28 strip -s $fs/usr/lib/*.so*
29 }