wok view zstd/receipt @ rev 22473
updated aespipe (2.4e -> 2.4f)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 27 17:45:00 2019 +0100 (2019-12-27) |
parents | ccbeea36a6bc |
children | 25f8eb393142 |
line source
1 # SliTaz package receipt.
3 PACKAGE="zstd"
4 VERSION="1.4.4"
5 CATEGORY="base-system"
6 TAGS="compression"
7 SHORT_DESC="Zstandard - Fast and efficient compression algorithm."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="BSD GPL2"
10 WEB_SITE="https://github.com/Cyan4973/zstd"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/facebook/zstd/archive/v$VERSION.tar.gz"
15 DEPENDS="liblzma lz4-lib"
16 BUILD_DEPENDS="grep liblzma-dev lz4-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 export LDFLAGS="$LDFLAGS -lrt"
23 cd $src/lib
24 make &&
25 make PREFIX=/usr DESTDIR=$DESTDIR install
27 cd $src/programs
28 make &&
29 make PREFIX=/usr DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 mkdir -p $install/usr/share
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib/*.so* $fs/usr/lib/
40 cp -a $src/doc $install/usr/share
41 }