wok view zstd/receipt @ rev 22185
updated xorg-cf-files (1.0.3 -> 1.0.6)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Nov 11 09:00:34 2019 +0100 (2019-11-11) |
parents | 87b6697bb350 |
children | baef3c7bb141 |
line source
1 # SliTaz package receipt.
3 PACKAGE="zstd"
4 VERSION="1.4.3"
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 }