wok-6.x view bzip3/receipt @ rev 25492
Up foomatic-db (4.0-20221117)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 18 09:54:27 2022 +0000 (21 months ago) |
parents | 265b93e48c1b |
children | 20c2ee666646 |
line source
1 # SliTaz package receipt.
3 PACKAGE="bzip3"
4 VERSION="1.1.4"
5 CATEGORY="utilities"
6 TAGS="compression archive"
7 SHORT_DESC="High-quality data compressor."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="LGPL3"
10 WEB_SITE="https://github.com/kspalaiologos/bzip3"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$WEB_SITE/releases/download/$VERSION/$TARBALL"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure CFLAGS="$CFLAGS -std=c99" \
26 --prefix=/usr \
27 $CONFIGURE_ARGS &&
28 make && make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/bin $fs/usr/
36 cp -a $install/usr/lib/*so $fs/usr/lib/
37 }