wok-current view lbzip2/receipt @ rev 25024

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 18 20:10:17 2022 +0000 (2022-05-18)
parents f8a963794d31
children 6e5c8ce7fb15
line source
1 # SliTaz package receipt.
3 PACKAGE="lbzip2"
4 VERSION="2.5"
5 CATEGORY="base-system"
6 SHORT_DESC="Parallel implementation of bzip2."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://github.com/kjn/lbzip2/"
11 WGET_URL="http://archive.lbzip2.org/$TARBALL"
13 current_version()
14 {
15 wget -O - ${WEB_SITE}/tags 2>/dev/null | \
16 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
17 }
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure --prefix=/usr $CONFIGURE_ARGS &&
23 make check &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/bin $fs/usr
32 }