wok-current view zstd/receipt @ rev 18336

Up zstd (0.1.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 10 17:29:00 2015 +0200 (2015-09-10)
parents 6f6cfd05b392
children 5590240a5d23
line source
1 # SliTaz package receipt.
3 PACKAGE="zstd"
4 VERSION="0.1.1"
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 }