wok annotate xxhash/receipt @ rev 25044
*/stuff/bootloader.S: fix VCPI case
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 02 15:48:36 2022 +0000 (2022-06-02) |
parents | c1a1d1f23e07 |
children | 0262035dc1e7 |
rev | line source |
---|---|
pascal@24047 | 1 # SliTaz package receipt. |
pascal@24047 | 2 |
pascal@24047 | 3 PACKAGE="xxhash" |
pascal@24047 | 4 VERSION="0.8.0" |
pascal@24047 | 5 CATEGORY="misc" |
pascal@24047 | 6 SHORT_DESC="Extremely fast non-cryptographic hash algorithm." |
pascal@24047 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@24047 | 8 LICENSE="BSD GPL2" |
pascal@24047 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@24047 | 10 WEB_SITE="http://cyan4973.github.io/xxHash/" |
pascal@24047 | 11 WGET_URL="https://github.com/Cyan4973/xxHash/archive/refs/tags/v$VERSION.tar.gz" |
pascal@24047 | 12 |
pascal@24048 | 13 DEPENDS="xxhash-lib" |
pascal@24048 | 14 |
pascal@24047 | 15 current_version() |
pascal@24047 | 16 { |
pascal@24047 | 17 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24047 | 18 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24047 | 19 } |
pascal@24047 | 20 |
pascal@24047 | 21 # Rules to configure and make the package. |
pascal@24047 | 22 compile_rules() |
pascal@24047 | 23 { |
pascal@24047 | 24 sed -i 's|/local||' Makefile |
pascal@24047 | 25 make && |
pascal@24047 | 26 make DESTDIR=$DESTDIR install |
pascal@24047 | 27 } |
pascal@24047 | 28 |
pascal@24047 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@24047 | 30 genpkg_rules() |
pascal@24047 | 31 { |
pascal@24047 | 32 mkdir -p $fs/usr/lib |
pascal@24047 | 33 cp -a $install/usr/bin $fs/usr/ |
pascal@24047 | 34 } |