wok-6.x view 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
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://deb.debian.org/debian/pool/main/l/lbzip2/lbzip2_$VERSION.orig.tar.bz2"
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 }