wok-next view zstd/receipt @ rev 17678

Up emacs-pkg-po-mode (0.19.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 18 12:16:55 2015 +0100 (2015-02-18)
parents
children 3d6389217d9a
line source
1 # SliTaz package receipt.
3 PACKAGE="zstd"
4 GITHASH="00f9507d26ededd25f8fc023c9f58113a609a27b"
5 VERSION="${GITHASH:0:7}"
6 CATEGORY="base-system"
7 SHORT_DESC="Zstandard - Fast and efficient compression algorithm."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="BSD"
10 TARBALL="$PACKAGE-$VERSION.zip"
11 WEB_SITE="https://github.com/Cyan4973/zstd"
12 WGET_URL="$WEB_SITE/archive/$GITHASH.zip"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src/lib
18 make &&
19 make DESTDIR=$DESTDIR install
20 cd $src/programs
21 make &&
22 make 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 }