wok-current annotate lbzip2/receipt @ rev 24420
created recipe for thunar-lang
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 11 14:04:35 2022 +0100 (2022-02-11) |
parents | f8a963794d31 |
children | 6e5c8ce7fb15 |
rev | line source |
---|---|
pascal@21204 | 1 # SliTaz package receipt. |
pascal@21204 | 2 |
pascal@21204 | 3 PACKAGE="lbzip2" |
pascal@21204 | 4 VERSION="2.5" |
pascal@21204 | 5 CATEGORY="base-system" |
pascal@21204 | 6 SHORT_DESC="Parallel implementation of bzip2." |
pascal@21204 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@21204 | 8 LICENSE="GPL3" |
pascal@21204 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@21784 | 10 WEB_SITE="https://github.com/kjn/lbzip2/" |
pascal@21204 | 11 WGET_URL="http://archive.lbzip2.org/$TARBALL" |
pascal@21204 | 12 |
pascal@24100 | 13 current_version() |
pascal@24100 | 14 { |
pascal@24299 | 15 wget -O - ${WEB_SITE}/tags 2>/dev/null | \ |
pascal@24100 | 16 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24100 | 17 } |
pascal@24100 | 18 |
pascal@21204 | 19 # Rules to configure and make the package. |
pascal@21204 | 20 compile_rules() |
pascal@21204 | 21 { |
pascal@21204 | 22 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@21204 | 23 make check && |
pascal@21204 | 24 make DESTDIR=$DESTDIR install |
pascal@21204 | 25 } |
pascal@21204 | 26 |
pascal@21204 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@21204 | 28 genpkg_rules() |
pascal@21204 | 29 { |
pascal@21206 | 30 mkdir -p $fs/usr |
pascal@21205 | 31 cp -a $install/usr/bin $fs/usr |
pascal@21204 | 32 } |