rev |
line source |
pankso@295
|
1 # SliTaz package receipt.
|
pankso@295
|
2
|
pankso@295
|
3 PACKAGE="libdv"
|
pankso@295
|
4 VERSION="1.0.0"
|
pankso@295
|
5 CATEGORY="multimedia"
|
pankso@295
|
6 SHORT_DESC="Software codec for DV video."
|
pankso@295
|
7 MAINTAINER="pankso@slitaz.org"
|
pankso@295
|
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
|
pankso@295
|
9 WEB_SITE="http://libdv.sourceforge.net/"
|
pankso@295
|
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
|
pankso@295
|
11
|
pankso@9794
|
12 DEPENDS="popt xorg-libXv"
|
pankso@9794
|
13 BUILD_DEPENDS="gtk+-dev popt-dev xorg-libXv-dev"
|
pankso@9794
|
14
|
pankso@295
|
15 # Rules to configure and make the package.
|
pankso@295
|
16 compile_rules()
|
pankso@295
|
17 {
|
pankso@295
|
18 cd $src
|
pankso@295
|
19 ./configure \
|
pankso@295
|
20 --prefix=/usr \
|
pankso@295
|
21 --mandir=/usr/share/man \
|
pankso@295
|
22 $CONFIGURE_ARGS
|
pankso@295
|
23 make
|
pankso@295
|
24 make DESTDIR=$PWD/_pkg install
|
pankso@295
|
25 }
|
pankso@295
|
26
|
pankso@295
|
27 # Rules to gen a SliTaz package suitable for Tazpkg.
|
pankso@295
|
28 genpkg_rules()
|
pankso@295
|
29 {
|
pankso@295
|
30 mkdir -p $fs/usr/lib
|
pankso@295
|
31 cp -a $_pkg/usr/bin $fs/usr
|
pankso@295
|
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
|
pankso@295
|
33 }
|
pankso@295
|
34
|