wok-current annotate lzfse/receipt @ rev 24996
updated nim (0.19.6 -> 1.6.6)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 10:46:30 2022 +0100 (2022-05-16) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
pascal@19986 | 1 # SliTaz package receipt. |
pascal@19986 | 2 |
pascal@19986 | 3 PACKAGE="lzfse" |
pascal@19986 | 4 VERSION="1.0" |
pascal@19986 | 5 CATEGORY="base-system" |
pascal@19986 | 6 SHORT_DESC="Compression library and command line tool." |
pascal@19986 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19986 | 8 LICENSE="BSD" |
pascal@19986 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@19986 | 10 WEB_SITE="https://github.com/lzfse/lzfse" |
pascal@19986 | 11 WGET_URL="$WEB_SITE/archive/$TARBALL" |
pascal@19986 | 12 TAGS="compression" |
pascal@19986 | 13 |
pascal@24055 | 14 current_version() |
pascal@24055 | 15 { |
pascal@24299 | 16 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 17 sed '/archive.*tar/!d;s|.*/lzfse-\(.*\).tar.*|\1|;q' |
pascal@24055 | 18 } |
pascal@24055 | 19 |
pascal@19986 | 20 # Rules to configure and make the package. |
pascal@19986 | 21 compile_rules() |
pascal@19986 | 22 { |
pascal@19986 | 23 make install INSTALL_PREFIX=$DESTDIR/usr/ |
pascal@19986 | 24 } |
pascal@19986 | 25 |
pascal@19986 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19986 | 27 genpkg_rules() |
pascal@19986 | 28 { |
pascal@19986 | 29 mkdir -p $fs/usr |
pascal@19986 | 30 cp -a $install/usr/bin $fs/usr/ |
pascal@19986 | 31 } |