wok-next diff zstd/receipt @ rev 17945
squashfs: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 15 17:06:17 2015 +0200 (2015-04-15) |
parents | |
children | 3d6389217d9a |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/zstd/receipt Wed Apr 15 17:06:17 2015 +0200 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="zstd" 1.7 +GITHASH="00f9507d26ededd25f8fc023c9f58113a609a27b" 1.8 +VERSION="${GITHASH:0:7}" 1.9 +CATEGORY="base-system" 1.10 +SHORT_DESC="Zstandard - Fast and efficient compression algorithm." 1.11 +MAINTAINER="pascal.bellard@slitaz.org" 1.12 +LICENSE="BSD" 1.13 +TARBALL="$PACKAGE-$VERSION.zip" 1.14 +WEB_SITE="https://github.com/Cyan4973/zstd" 1.15 +WGET_URL="$WEB_SITE/archive/$GITHASH.zip" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src/lib 1.21 + make && 1.22 + make DESTDIR=$DESTDIR install 1.23 + cd $src/programs 1.24 + make && 1.25 + make DESTDIR=$DESTDIR install 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + mkdir -p $fs/usr/lib 1.32 + cp -a $install/usr/bin $fs/usr 1.33 + cp -a $install/usr/lib/*.so* $fs/usr/lib/ 1.34 +}