wok view lbzip2/receipt @ rev 25558
Up libqcow (20221124)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 24 09:03:56 2023 +0000 (18 months ago) |
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 }