wok-6.x view zvbi/receipt @ rev 24326
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 27 12:16:00 2022 +0000 (2022-01-27) |
parents | 20f548c9cda5 |
children | 5f6c5106b1f5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="zvbi"
4 VERSION="0.2.35"
5 CATEGORY="multimedia"
6 SHORT_DESC="VBI capture and decoding library."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://zapping.sourceforge.net/cgi-bin/view/ZVBI/WebHome"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/zapping/$TARBALL"
14 DEPENDS="libpng xorg-libX11"
15 BUILD_DEPENDS="libpng-dev xorg-libX11-dev zlib-dev"
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/zapping/files/zvbi/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/zvbi/||;s|/.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 patch -Np1 -i $stuff/fix-includes.patch
29 ./configure \
30 --prefix=/usr \
31 --infodir=/usr/share/info \
32 --mandir=/usr/share/man \
33 --disable-static \
34 $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/sbin $fs/usr
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 }