wok diff xxhash/receipt @ rev 24047
Up ipxe (1.21.1), rsync (3.2.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 10 19:33:04 2021 +0000 (2021-05-10) |
parents | |
children | 9ea6d3207601 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/xxhash/receipt Mon May 10 19:33:04 2021 +0000 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="xxhash" 1.7 +VERSION="0.8.0" 1.8 +CATEGORY="misc" 1.9 +SHORT_DESC="Extremely fast non-cryptographic hash algorithm." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="BSD GPL2" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://cyan4973.github.io/xxHash/" 1.14 +WGET_URL="https://github.com/Cyan4973/xxHash/archive/refs/tags/v$VERSION.tar.gz" 1.15 + 1.16 +current_version() 1.17 +{ 1.18 + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 1.19 + sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' 1.20 +} 1.21 + 1.22 +# Rules to configure and make the package. 1.23 +compile_rules() 1.24 +{ 1.25 + sed -i 's|/local||' Makefile 1.26 + make && 1.27 + make DESTDIR=$DESTDIR install 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + mkdir -p $fs/usr/lib 1.34 + cp -a $install/usr/bin $fs/usr/ 1.35 + cp -a $install/usr/lib/*.so* $fs/usr/lib/ 1.36 +}