wok view zstd/receipt @ rev 20518

Up openssh (7.9p1), opus (1.3), opus-tools (0.2), zstd (1.3.7)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 02 15:37:03 2018 +0100 (2018-11-02)
parents 45d416bfc91e
children 8e17dd3d81ee
line source
1 # SliTaz package receipt.
3 PACKAGE="zstd"
4 VERSION="1.3.7"
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 grep"
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 }