wok view bzip3/receipt @ rev 25735
Remove iptraf: replaced by iptraf-ng
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 23 09:39:49 2024 +0000 (2 months ago) |
parents | 76c8a51f118d |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="bzip3"
4 VERSION="1.4.0"
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%/down*} 2>/dev/null | \
19 sed '/tag\//!d;s|.*tag/v*||;s|".*||;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 }