wok-6.x annotate zvbi/receipt @ rev 24092
Up get-pcem-roms (2.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 18 13:15:53 2021 +0000 (2021-07-18) |
parents | b0c60d808e5c |
children | c365fe17a816 |
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 |
slaxemulator@7455 | 17 # Rules to configure and make the package. |
slaxemulator@7455 | 18 compile_rules() |
slaxemulator@7455 | 19 { |
pascal@8974 | 20 patch -Np1 -i $stuff/fix-includes.patch |
Hans-G?nter@22336 | 21 |
Hans-G?nter@22336 | 22 ./configure \ |
Hans-G?nter@22336 | 23 --prefix=/usr \ |
Hans-G?nter@22336 | 24 --infodir=/usr/share/info \ |
Hans-G?nter@22336 | 25 --mandir=/usr/share/man \ |
Hans-G?nter@22336 | 26 --disable-static \ |
slaxemulator@7455 | 27 $CONFIGURE_ARGS && |
Hans-G?nter@22336 | 28 make && |
Hans-G?nter@22336 | 29 make DESTDIR=$DESTDIR install |
slaxemulator@7455 | 30 } |
slaxemulator@7455 | 31 |
slaxemulator@7455 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7455 | 33 genpkg_rules() |
slaxemulator@7455 | 34 { |
slaxemulator@7455 | 35 mkdir -p $fs/usr/lib |
Hans-G?nter@22336 | 36 |
Hans-G?nter@22336 | 37 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22336 | 38 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@22336 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@7455 | 40 } |