wok annotate lbzip2/receipt @ rev 24254
updated perl-test-compile (2.4.0 -> 3.0.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 09:57:13 2022 +0100 (2022-01-02) |
parents | 68f9518c4cb0 |
children | ac8ca9758df1 |
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@24100 | 15 wget -O - ${WEB_SITE}/releases 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 } |