wok-current view bzip3/receipt @ rev 25185

mplayer: added dependency ffmpeg
author Hans-G?nter Theisgen
date Tue Jul 12 09:50:00 2022 +0100 (2022-07-12)
parents
children d15c88df1fd2
line source
1 # SliTaz package receipt.
3 PACKAGE="bzip3"
4 VERSION="1.1.3"
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 }