wok annotate zstd/receipt @ rev 20009

Add: description.txt and links revision.
author Leonardo Laporte <hackdorte@yandex.com>
date Thu Aug 03 05:22:36 2017 -0300 (2017-08-03)
parents 8f689ce18e9c
children a1fabd7faf61
rev   line source
pascal@17541 1 # SliTaz package receipt.
pascal@17541 2
pascal@17541 3 PACKAGE="zstd"
pascal@19985 4 VERSION="1.2.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@19989 28 mkdir -p $fs/usr/lib $fs/usr/share
pascal@17541 29 cp -a $install/usr/bin $fs/usr
pascal@17541 30 cp -a $install/usr/lib/*.so* $fs/usr/lib/
pascal@19989 31 cp -a $src/doc $fs/usr/share
pascal@17541 32 }