wok-4.x view libdv/receipt @ rev 9737

slim: fix DESTDIR is needed and build deps
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 10 00:34:33 2011 +0200 (2011-05-10)
parents 7500356beb11
children d4dd884c80c0
line source
1 # SliTaz package receipt.
3 PACKAGE="libdv"
4 VERSION="1.0.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="Software codec for DV video."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="popt xorg-libXv"
9 BUILD_DEPENDS="gtk+-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://libdv.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS
22 make
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 }