wok-current view xxhash/receipt @ rev 25670
Update firmware-* packages to 20240220
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Mar 02 21:41:14 2024 +0000 (8 months ago) |
parents | 9ea6d3207601 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xxhash"
4 VERSION="0.8.1"
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 DEPENDS="xxhash-lib"
15 current_version()
16 {
17 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
18 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 sed -i 's|/local||' Makefile
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/bin $fs/usr/
34 }