wok view 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 source
1 # SliTaz package receipt.
3 PACKAGE="xxhash"
4 VERSION="0.8.0"
5 CATEGORY="misc"
6 SHORT_DESC="Extremely fast non-cryptographic hash algorithm."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://cyan4973.github.io/xxHash/"
11 WGET_URL="https://github.com/Cyan4973/xxHash/archive/refs/tags/v$VERSION.tar.gz"
13 current_version()
14 {
15 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
16 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
17 }
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i 's|/local||' Makefile
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/bin $fs/usr/
32 cp -a $install/usr/lib/*.so* $fs/usr/lib/
33 }