wok annotate lz4/receipt @ rev 25063
nfs-utils: update web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 07 20:10:22 2022 +0000 (2022-06-07) |
parents | 9c5316bc7e8e |
children | 0748d49b3e26 |
rev | line source |
---|---|
pascal@13235 | 1 # SliTaz package receipt. |
pascal@13235 | 2 |
pascal@13235 | 3 PACKAGE="lz4" |
pascal@23995 | 4 VERSION="1.9.3" |
pascal@13235 | 5 CATEGORY="base-system" |
pankso@15872 | 6 SHORT_DESC="High speed lossless compressor." |
pascal@13235 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15195 | 8 LICENSE="BSD" |
pascal@23696 | 9 WEB_SITE="https://github.com/lz4/lz4" |
pankso@15872 | 10 TARBALL="$PACKAGE-r$VERSION.tar.gz" |
pascal@19691 | 11 WGET_URL="https://github.com/lz4/lz4/archive/v$VERSION.tar.gz" |
pascal@13235 | 12 TAGS="compression" |
pascal@13235 | 13 |
pascal@17944 | 14 BUILD_DEPENDS="wget" |
pascal@17944 | 15 |
pascal@22825 | 16 current_version() |
pascal@22825 | 17 { |
pascal@22841 | 18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24034 | 19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@22825 | 20 } |
pascal@22825 | 21 |
pascal@13235 | 22 # Rules to configure and make the package. |
pascal@13235 | 23 compile_rules() |
pascal@13235 | 24 { |
pascal@17944 | 25 find -type f | xargs sed -i 's|usr/local|usr|' |
pascal@20181 | 26 make LDFLAGS="$LDFLAGS -lrt" && make DESTDIR=$DESTDIR install |
pascal@13235 | 27 } |
pascal@13235 | 28 |
pascal@13235 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13235 | 30 genpkg_rules() |
pascal@13235 | 31 { |
pascal@21604 | 32 mkdir -p $fs/usr $install/usr/share |
pascal@20222 | 33 cp -a $install/usr/bin $fs/usr |
pascal@21604 | 34 cp -a $src/doc $install/usr/share |
pascal@21604 | 35 cp $src/README* $src/NEWS $src/LICENSE $install/usr/share/doc |
pascal@13235 | 36 } |