wok view zstd/receipt @ rev 18666
Up tazpkg (883)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 04 13:21:56 2015 +0100 (2015-12-04) |
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 }