wok-6.x annotate zstd/receipt @ rev 19392
Up vmtouch (1.1.0)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Aug 27 20:53:04 2016 +0100 (2016-08-27) |
parents | 0c4e7450eb86 |
children | 4458f0f34c92 |
rev | line source |
---|---|
pascal@17541 | 1 # SliTaz package receipt. |
pascal@17541 | 2 |
pascal@17541 | 3 PACKAGE="zstd" |
pascal@19146 | 4 VERSION="0.6.1" |
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@18885 | 11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
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 } |