wok-next annotate zstd/receipt @ rev 18809
Up python-six (1.10.0)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Thu Jan 14 19:18:43 2016 +0000 (2016-01-14) |
parents | 3d6389217d9a |
children | 0c4e7450eb86 |
rev | line source |
---|---|
pascal@17541 | 1 # SliTaz package receipt. |
pascal@17541 | 2 |
pascal@17541 | 3 PACKAGE="zstd" |
pascal@18363 | 4 VERSION="0.1.2" |
pascal@17541 | 5 CATEGORY="base-system" |
pascal@17541 | 6 SHORT_DESC="Zstandard - Fast and efficient compression algorithm." |
pascal@17541 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17541 | 8 LICENSE="BSD" |
pascal@18336 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17541 | 10 WEB_SITE="https://github.com/Cyan4973/zstd" |
pascal@18363 | 11 WGET_URL="$WEB_SITE/archive/$TARBALL" |
pascal@18336 | 12 TAGS="compression" |
pascal@17541 | 13 |
pascal@17541 | 14 # Rules to configure and make the package. |
pascal@17541 | 15 compile_rules() |
pascal@17541 | 16 { |
pascal@17541 | 17 cd $src/lib |
pascal@17541 | 18 make && |
pascal@18336 | 19 make PREFIX=/usr DESTDIR=$DESTDIR install |
pascal@17541 | 20 cd $src/programs |
pascal@17541 | 21 make && |
pascal@18336 | 22 make PREFIX=/usr DESTDIR=$DESTDIR install |
pascal@17541 | 23 } |
pascal@17541 | 24 |
pascal@17541 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17541 | 26 genpkg_rules() |
pascal@17541 | 27 { |
pascal@17541 | 28 mkdir -p $fs/usr/lib |
pascal@17541 | 29 cp -a $install/usr/bin $fs/usr |
pascal@17541 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib/ |
pascal@17541 | 31 } |