wok-6.x annotate zstd/receipt @ rev 19396
Up zstd (1.0.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 01 16:30:12 2016 +0200 (2016-09-01) |
parents | 56ac50099f16 |
children | 8f689ce18e9c |
rev | line source |
---|---|
pascal@17541 | 1 # SliTaz package receipt. |
pascal@17541 | 2 |
pascal@17541 | 3 PACKAGE="zstd" |
pascal@19396 | 4 VERSION="1.0.0" |
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 } |