wok-next rev 17541
Add zstd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 26 15:15:08 2015 +0100 (2015-01-26) |
parents | b0977e588407 |
children | 1bc35c002ae0 |
files | zstd-dev/receipt zstd/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/zstd-dev/receipt Mon Jan 26 15:15:08 2015 +0100 1.3 @@ -0,0 +1,22 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="zstd-dev" 1.7 +GITHASH="00f9507d26ededd25f8fc023c9f58113a609a27b" 1.8 +VERSION="${GITHASH:0:7}" 1.9 +CATEGORY="development" 1.10 +SHORT_DESC="Zstandard - Fast and efficient compression algorithm, development files." 1.11 +MAINTAINER="pascal.bellard@slitaz.org" 1.12 +LICENSE="BSD" 1.13 +WEB_SITE="https://github.com/Cyan4973/zstd" 1.14 +WANTED="zstd" 1.15 + 1.16 +DEPENDS="zstd" 1.17 + 1.18 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.19 +genpkg_rules() 1.20 +{ 1.21 + mkdir -p $fs/usr/lib 1.22 + cp -a $install/usr/include $fs/usr 1.23 + cp -a $install/usr/lib/*a $fs/usr/lib/ 1.24 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib/ 1.25 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/zstd/receipt Mon Jan 26 15:15:08 2015 +0100 2.3 @@ -0,0 +1,31 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="zstd" 2.7 +GITHASH="00f9507d26ededd25f8fc023c9f58113a609a27b" 2.8 +VERSION="${GITHASH:0:7}" 2.9 +CATEGORY="base-system" 2.10 +SHORT_DESC="Zstandard - Fast and efficient compression algorithm." 2.11 +MAINTAINER="pascal.bellard@slitaz.org" 2.12 +LICENSE="BSD" 2.13 +TARBALL="$PACKAGE-$VERSION.zip" 2.14 +WEB_SITE="https://github.com/Cyan4973/zstd" 2.15 +WGET_URL="$WEB_SITE/archive/$GITHASH.zip" 2.16 + 2.17 +# Rules to configure and make the package. 2.18 +compile_rules() 2.19 +{ 2.20 + cd $src/lib 2.21 + make && 2.22 + make DESTDIR=$DESTDIR install 2.23 + cd $src/programs 2.24 + make && 2.25 + make DESTDIR=$DESTDIR install 2.26 +} 2.27 + 2.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.29 +genpkg_rules() 2.30 +{ 2.31 + mkdir -p $fs/usr/lib 2.32 + cp -a $install/usr/bin $fs/usr 2.33 + cp -a $install/usr/lib/*.so* $fs/usr/lib/ 2.34 +}