wok-current view lbzip2/receipt @ rev 25477

icedtea6-jdk: find output to variable
author Hans-G?nter Theisgen
date Thu Oct 13 17:53:47 2022 +0100 (2022-10-13)
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 }