wok-stable annotate lzop/receipt @ rev 10772
Trying to make a tazdev-like receip with source from slitaz-dev-tools, in order to get yaff cooked properly
author | Babaorum |
---|---|
date | Tue May 31 21:49:58 2011 +0100 (2011-05-31) |
parents | |
children |
rev | line source |
---|---|
pascal@3193 | 1 # SliTaz package receipt. |
pascal@3193 | 2 |
pascal@3193 | 3 PACKAGE="lzop" |
pascal@3193 | 4 VERSION="1.02rc1" |
pascal@3193 | 5 CATEGORY="base-system" |
pascal@3193 | 6 SHORT_DESC="Compressor with a high compression speed." |
pascal@3193 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@3193 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@3193 | 9 WEB_SITE="http://www.lzop.org/" |
pascal@3193 | 10 WGET_URL="${WEB_SITE}download/$TARBALL" |
pascal@3193 | 11 DEPENDS="lzo" |
pascal@3193 | 12 BUILD_DEPENDS="lzo-dev" |
pascal@3193 | 13 |
pascal@3193 | 14 # Rules to configure and make the package. |
pascal@3193 | 15 compile_rules() |
pascal@3193 | 16 { |
pascal@3193 | 17 cd $src |
pascal@3193 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@3193 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@3193 | 20 make |
pascal@3193 | 21 } |
pascal@3193 | 22 |
pascal@3193 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3193 | 24 genpkg_rules() |
pascal@3193 | 25 { |
pascal@3193 | 26 mkdir -p $fs/usr/bin |
pascal@3193 | 27 cp $src/src/lzop $fs/usr/bin |
pascal@3193 | 28 } |
pascal@3193 | 29 |