wok-6.x view zstd/receipt @ rev 20139
Downgrade tazpkg (944): 953 doesn't remove updated packages from upgrade list
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Thu Nov 02 13:54:00 2017 -0400 (2017-11-02) |
parents | f01216c54b22 |
children | 01dce3735a94 |
line source
1 # SliTaz package receipt.
3 PACKAGE="zstd"
4 VERSION="1.3.2"
5 CATEGORY="base-system"
6 SHORT_DESC="Zstandard - Fast and efficient compression algorithm."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/Cyan4973/zstd"
11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
12 TAGS="compression"
14 DEPENDS="lz4-lib liblzma"
15 BUILD_DEPENDS="lz4-dev liblzma-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export LDFLAGS="$LDFLAGS -lrt"
21 cd $src/lib
22 make &&
23 make PREFIX=/usr DESTDIR=$DESTDIR install
24 cd $src/programs
25 make &&
26 make PREFIX=/usr DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib $install/usr/share
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib/*.so* $fs/usr/lib/
35 cp -a $src/doc $install/usr/share
36 }