wok annotate zstd/receipt @ rev 20951

created gcc83
author Hans-G?nter Theisgen
date Sun Mar 03 16:35:23 2019 +0100 (2019-03-03)
parents f0484014527d
children 87b6697bb350
rev   line source
pascal@17541 1 # SliTaz package receipt.
pascal@17541 2
pascal@17541 3 PACKAGE="zstd"
pascal@20648 4 VERSION="1.3.8"
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@20062 8 LICENSE="BSD GPL2"
pascal@18336 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@17541 10 WEB_SITE="https://github.com/Cyan4973/zstd"
pascal@20425 11 WGET_URL="https://github.com/facebook/zstd/archive/v$VERSION.tar.gz"
pascal@18336 12 TAGS="compression"
pascal@17541 13
pascal@20118 14 DEPENDS="lz4-lib liblzma"
pascal@20455 15 BUILD_DEPENDS="lz4-dev liblzma-dev grep"
pascal@20118 16
pascal@17541 17 # Rules to configure and make the package.
pascal@17541 18 compile_rules()
pascal@17541 19 {
pascal@20118 20 export LDFLAGS="$LDFLAGS -lrt"
pascal@17541 21 cd $src/lib
pascal@17541 22 make &&
pascal@18336 23 make PREFIX=/usr DESTDIR=$DESTDIR install
pascal@17541 24 cd $src/programs
pascal@17541 25 make &&
pascal@18336 26 make PREFIX=/usr DESTDIR=$DESTDIR install
pascal@17541 27 }
pascal@17541 28
pascal@17541 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17541 30 genpkg_rules()
pascal@17541 31 {
pascal@20026 32 mkdir -p $fs/usr/lib $install/usr/share
pascal@17541 33 cp -a $install/usr/bin $fs/usr
pascal@17541 34 cp -a $install/usr/lib/*.so* $fs/usr/lib/
pascal@20026 35 cp -a $src/doc $install/usr/share
pascal@17541 36 }