wok-current view gst-python/receipt @ rev 10762

jstetris: mkdir $src
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 31 12:15:24 2011 +0200 (2011-05-31)
parents 6613102ce5d9
children 6ebd5d014ab8
line source
1 # SliTaz package receipt.
3 PACKAGE="gst-python"
4 VERSION="0.10.21"
5 CATEGORY="multimedia"
6 SHORT_DESC="GStreamer Python Plugins"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="pygobject gstreamer gst-plugins-base"
9 BUILD_DEPENDS="pygobject-dev gstreamer gstreamer-dev libxml2-dev liboil-dev python-dev glib-dev gst-plugins-base-dev pkg-config"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://gstreamer.freedesktop.org/"
12 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var &&
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib $fs/usr/share
27 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
28 cp -a $_pkg/usr/lib/python* $fs/usr/lib
30 }