wok view xxhash/receipt @ rev 25624
Add opendkim
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 08 16:45:57 2023 +0000 (12 months ago) |
parents | 9ea6d3207601 |
children |
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 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 sed -i 's|/local||' Makefile
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/bin $fs/usr/
35 }