wok view zstd/receipt @ rev 19875
linld: fix chdirname
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 31 12:51:11 2017 +0200 (2017-03-31) |
parents | 56ac50099f16 |
children | 8f689ce18e9c |
line source
1 # SliTaz package receipt.
3 PACKAGE="zstd"
4 VERSION="1.0.0"
5 CATEGORY="base-system"
6 SHORT_DESC="Zstandard - Fast and efficient compression algorithm."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
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 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src/lib
18 make &&
19 make PREFIX=/usr DESTDIR=$DESTDIR install
20 cd $src/programs
21 make &&
22 make PREFIX=/usr DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/lib/*.so* $fs/usr/lib/
31 }