wok-6.x view zvbi/receipt @ rev 24105
Add bindfs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 25 16:21:20 2021 +0000 (2021-09-25) |
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 }