wok-next view zvbi/receipt @ rev 15603
Use install instead of _pkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 06 10:39:07 2013 +0000 (2013-12-06) |
parents | 940b5937e496 |
children | fb478984fbc8 |
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 }