wok-6.x annotate lzop/receipt @ rev 15054
compiz-libcompizconfig-dev: fix genpkg-rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 12 21:12:36 2013 +0000 (2013-08-12) |
parents | c97aea7cf136 |
children | f498b54a20cd |
rev | line source |
---|---|
pascal@3193 | 1 # SliTaz package receipt. |
pascal@3193 | 2 |
pascal@3193 | 3 PACKAGE="lzop" |
erjo@13536 | 4 VERSION="1.03" |
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@15002 | 8 LICENSE="GPL2" |
pascal@3193 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@3193 | 10 WEB_SITE="http://www.lzop.org/" |
pascal@3193 | 11 WGET_URL="${WEB_SITE}download/$TARBALL" |
pascal@15002 | 12 |
pascal@3193 | 13 DEPENDS="lzo" |
pascal@3193 | 14 BUILD_DEPENDS="lzo-dev" |
pascal@3193 | 15 |
pascal@3193 | 16 # Rules to configure and make the package. |
pascal@3193 | 17 compile_rules() |
pascal@3193 | 18 { |
pascal@3193 | 19 cd $src |
pascal@3193 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@3193 | 21 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@3193 | 22 make |
pascal@3193 | 23 } |
pascal@3193 | 24 |
pascal@3193 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3193 | 26 genpkg_rules() |
pascal@3193 | 27 { |
pascal@3193 | 28 mkdir -p $fs/usr/bin |
pascal@3193 | 29 cp $src/src/lzop $fs/usr/bin |
pascal@3193 | 30 } |
pascal@3193 | 31 |