wok-6.x annotate zstd/receipt @ rev 18188
tokyocabinet: add --enable-off64
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 08 12:20:47 2015 +0200 (2015-07-08) |
parents | |
children | 3d6389217d9a |
rev | line source |
---|---|
pascal@17541 | 1 # SliTaz package receipt. |
pascal@17541 | 2 |
pascal@17541 | 3 PACKAGE="zstd" |
pascal@17541 | 4 GITHASH="00f9507d26ededd25f8fc023c9f58113a609a27b" |
pascal@17541 | 5 VERSION="${GITHASH:0:7}" |
pascal@17541 | 6 CATEGORY="base-system" |
pascal@17541 | 7 SHORT_DESC="Zstandard - Fast and efficient compression algorithm." |
pascal@17541 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17541 | 9 LICENSE="BSD" |
pascal@17541 | 10 TARBALL="$PACKAGE-$VERSION.zip" |
pascal@17541 | 11 WEB_SITE="https://github.com/Cyan4973/zstd" |
pascal@17541 | 12 WGET_URL="$WEB_SITE/archive/$GITHASH.zip" |
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@17541 | 19 make DESTDIR=$DESTDIR install |
pascal@17541 | 20 cd $src/programs |
pascal@17541 | 21 make && |
pascal@17541 | 22 make 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 } |