wok-current view xxhash/receipt @ rev 24886

updated mcabber-help (0.9.10 -> 1.1.2)
author Hans-G?nter Theisgen
date Fri Apr 01 07:55:45 2022 +0100 (2022-04-01)
parents c1a1d1f23e07
children 3ad63c8fc2f9
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 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 }