wok-4.x view lzo/receipt @ rev 10481

tazwikiss: use $_pkg in genpkg_rules, not $DESTDIR
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 25 12:20:28 2011 +0200 (2011-05-25)
parents 02bbaa9d12ba
children
line source
1 # SliTaz package receipt.
3 PACKAGE="lzo"
4 VERSION="2.05"
5 CATEGORY="system-tools"
6 SHORT_DESC="Data compression library"
7 MAINTAINER="erjo@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.oberhumer.com/opensource/lzo/download/"
10 WGET_URL="http://www.oberhumer.com/opensource/lzo/download/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure \
17 --enable-shared $CONFIGURE_ARGS &&
18 make && make install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/lib
25 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
26 }