wok-next view zstd/receipt @ rev 18827
Up pwnat (8 sep 2014)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 17 11:38:57 2016 +0100 (2016-01-17) |
parents | 3d6389217d9a |
children | 0c4e7450eb86 |
line source
1 # SliTaz package receipt.
3 PACKAGE="zstd"
4 VERSION="0.1.2"
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/$TARBALL"
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 }