wok-next rev 20901
Add xxhash
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jul 25 00:32:19 2018 +0300 (2018-07-25) |
parents | 241675069a75 |
children | d3707642a563 |
files | xxhash/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/xxhash/receipt Wed Jul 25 00:32:19 2018 +0300 1.3 @@ -0,0 +1,28 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="xxhash" 1.7 +VERSION="0.6.5" 1.8 +CATEGORY="utilities" 1.9 +SHORT_DESC="Extremely fast non-cryptographic hash algorithm" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="BSD" 1.12 +WEB_SITE="http://cyan4973.github.io/xxHash/" 1.13 + 1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 +WGET_URL="https://github.com/Cyan4973/xxHash/archive/v$VERSION.tar.gz" 1.16 + 1.17 +SPLIT="xxhash-dev" 1.18 + 1.19 +compile_rules() { 1.20 + make && 1.21 + make \ 1.22 + prefix=/usr \ 1.23 + install 1.24 +} 1.25 + 1.26 +genpkg_rules() { 1.27 + case $PACKAGE in 1.28 + xxhash) copy @std;; 1.29 + *-dev) copy @dev;; 1.30 + esac 1.31 +}