wok-next view lzo/receipt @ rev 9210
gphoto2: typo in compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 11 08:38:29 2011 +0100 (2011-03-11) |
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 }