wok-6.x view gstreamer/receipt @ rev 9078

python-nose: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 16:44:25 2011 +0100 (2011-03-04)
parents 955ef520b5bf
children beb75c582d6c
line source
1 # SliTaz package receipt.
3 PACKAGE="gstreamer"
4 VERSION="0.10.32"
5 CATEGORY="multimedia"
6 SHORT_DESC="GStreamer Multimedia Framework"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="libxml2 glib"
9 BUILD_DEPENDS="intltool pkg-config bison flex glib-dev libxml2-dev python
10 python-dev m4 libgio-dev gobject-introspection-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://gstreamer.freedesktop.org/"
13 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --sysconfdir=/etc \
22 --localstatedir=/var \
23 --disable-docs-build &&
24 make -j 4 &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/lib/gstreamer* $fs/usr/lib
35 }