wok view zstd/receipt @ rev 20454

Up zstd (1.3.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 06 15:17:20 2018 +0200 (2018-10-06)
parents 85dfc60c69ac
children 45d416bfc91e
line source
1 # SliTaz package receipt.
3 PACKAGE="zstd"
4 VERSION="1.3.6"
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="https://github.com/facebook/zstd/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 }