wok view zvbi/receipt @ rev 15216

Add libotr
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 16 12:32:27 2013 +0000 (2013-09-16)
parents 940b5937e496
children 20f548c9cda5
line source
1 # SliTaz package receipt.
3 PACKAGE="zvbi"
4 VERSION="0.2.33"
5 CATEGORY="multimedia"
6 SHORT_DESC="VBI capture and decoding library."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://zapping.sourceforge.net/cgi-bin/view/ZVBI/WebHome"
11 WGET_URL="$SF_MIRROR/zapping/$TARBALL"
13 DEPENDS="libpng xorg-libX11"
14 BUILD_DEPENDS="libpng-dev xorg-libX11-dev zlib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 patch -Np1 -i $stuff/fix-includes.patch
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 --disable-static \
26 $CONFIGURE_ARGS &&
27 make && make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/sbin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }