wok-next view xxhash/receipt @ rev 21094

Apply "force-arch" for selected dev packages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 31 17:23:40 2018 +0200 (2018-12-31)
parents a7c7cade0e8f
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xxhash"
4 VERSION="0.6.5"
5 CATEGORY="utilities"
6 SHORT_DESC="Extremely fast non-cryptographic hash algorithm"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="http://cyan4973.github.io/xxHash/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/Cyan4973/xxHash/archive/v$VERSION.tar.gz"
14 SPLIT="$PACKAGE-dev"
16 compile_rules() {
17 make &&
18 make \
19 prefix=/usr \
20 install
21 }
23 genpkg_rules() {
24 case $PACKAGE in
25 xxhash) copy @std;;
26 *-dev) copy @dev;;
27 esac
28 }