wok annotate zvbi/receipt @ rev 20400

code2: typo
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 27 22:28:52 2018 +0300 (2018-06-27)
parents 940b5937e496
children 20f548c9cda5
rev   line source
slaxemulator@7455 1 # SliTaz package receipt.
slaxemulator@7455 2
slaxemulator@7455 3 PACKAGE="zvbi"
slaxemulator@7455 4 VERSION="0.2.33"
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"
slaxemulator@7455 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@7455 10 WEB_SITE="http://zapping.sourceforge.net/cgi-bin/view/ZVBI/WebHome"
slaxemulator@7455 11 WGET_URL="$SF_MIRROR/zapping/$TARBALL"
slaxemulator@7455 12
pascal@15216 13 DEPENDS="libpng xorg-libX11"
pascal@15216 14 BUILD_DEPENDS="libpng-dev xorg-libX11-dev zlib-dev"
pascal@15216 15
slaxemulator@7455 16 # Rules to configure and make the package.
slaxemulator@7455 17 compile_rules()
slaxemulator@7455 18 {
slaxemulator@7455 19 cd $src
pascal@8974 20 patch -Np1 -i $stuff/fix-includes.patch
slaxemulator@7455 21 ./configure \
slaxemulator@7455 22 --prefix=/usr \
slaxemulator@7455 23 --infodir=/usr/share/info \
slaxemulator@7455 24 --mandir=/usr/share/man \
slaxemulator@7455 25 --disable-static \
slaxemulator@7455 26 $CONFIGURE_ARGS &&
pascal@15216 27 make && make DESTDIR=$DESTDIR install
slaxemulator@7455 28 }
slaxemulator@7455 29
slaxemulator@7455 30 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7455 31 genpkg_rules()
slaxemulator@7455 32 {
slaxemulator@7455 33 mkdir -p $fs/usr/lib
pascal@15216 34 cp -a $install/usr/bin $fs/usr
pascal@15216 35 cp -a $install/usr/sbin $fs/usr
pascal@15216 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@7455 37 }
slaxemulator@7455 38