wok-6.x annotate zvbi/receipt @ rev 25266
gdk-pixbuf: added dependency libjpeg
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 13:56:48 2022 +0100 (2022-07-15) |
parents | c365fe17a816 |
children | b0069c845544 |
rev | line source |
---|---|
slaxemulator@7455 | 1 # SliTaz package receipt. |
slaxemulator@7455 | 2 |
slaxemulator@7455 | 3 PACKAGE="zvbi" |
Hans-G?nter@22336 | 4 VERSION="0.2.35" |
slaxemulator@7455 | 5 CATEGORY="multimedia" |
slaxemulator@7455 | 6 SHORT_DESC="VBI capture and decoding library." |
slaxemulator@7455 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15216 | 8 LICENSE="GPL2" |
Hans-G?nter@22336 | 9 WEB_SITE="http://zapping.sourceforge.net/cgi-bin/view/ZVBI/WebHome" |
Hans-G?nter@22336 | 10 |
slaxemulator@7455 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@7455 | 12 WGET_URL="$SF_MIRROR/zapping/$TARBALL" |
slaxemulator@7455 | 13 |
pascal@15216 | 14 DEPENDS="libpng xorg-libX11" |
pascal@15216 | 15 BUILD_DEPENDS="libpng-dev xorg-libX11-dev zlib-dev" |
pascal@15216 | 16 |
pascal@24340 | 17 # What is the latest version available today? |
pascal@24105 | 18 current_version() |
pascal@24105 | 19 { |
pascal@24105 | 20 wget -O - https://sourceforge.net/projects/zapping/files/zvbi/ 2>/dev/null | \ |
pascal@24105 | 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24105 | 22 sed '/scope="row/!d;s|.*/zvbi/||;s|/.*||;q' |
pascal@24105 | 23 } |
pascal@24105 | 24 |
slaxemulator@7455 | 25 # Rules to configure and make the package. |
slaxemulator@7455 | 26 compile_rules() |
slaxemulator@7455 | 27 { |
pascal@8974 | 28 patch -Np1 -i $stuff/fix-includes.patch |
Hans-G?nter@22336 | 29 |
Hans-G?nter@22336 | 30 ./configure \ |
Hans-G?nter@22336 | 31 --prefix=/usr \ |
Hans-G?nter@22336 | 32 --infodir=/usr/share/info \ |
Hans-G?nter@22336 | 33 --mandir=/usr/share/man \ |
Hans-G?nter@22336 | 34 --disable-static \ |
slaxemulator@7455 | 35 $CONFIGURE_ARGS && |
Hans-G?nter@22336 | 36 make && |
Hans-G?nter@22336 | 37 make DESTDIR=$DESTDIR install |
slaxemulator@7455 | 38 } |
slaxemulator@7455 | 39 |
slaxemulator@7455 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7455 | 41 genpkg_rules() |
slaxemulator@7455 | 42 { |
slaxemulator@7455 | 43 mkdir -p $fs/usr/lib |
Hans-G?nter@22336 | 44 |
Hans-G?nter@22336 | 45 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22336 | 46 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@22336 | 47 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@7455 | 48 } |