wok-6.x annotate lbzip2/receipt @ rev 25445

itaka: fix wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 06 07:38:52 2022 +0000 (2022-09-06)
parents ac8ca9758df1
children
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@25036 11 WGET_URL="http://deb.debian.org/debian/pool/main/l/lbzip2/lbzip2_$VERSION.orig.tar.bz2"
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 }