wok view gst-python/receipt @ rev 14045

hydra: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 18 18:37:30 2013 +0100 (2013-02-18)
parents f1f0f4bab8de
children 122b4ff7eb3a
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://gstreamer.freedesktop.org/"
10 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
12 DEPENDS="pygobject gstreamer gst-plugins-base"
13 BUILD_DEPENDS="pygobject-dev gstreamer gstreamer-dev libxml2-dev liboil-dev \
14 python-dev glib-dev gst-plugins-base-dev pkg-config"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr \
21 --sysconfdir=/etc \
22 --localstatedir=/var \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib $fs/usr/share
32 cp -a $install/usr/share/$PACKAGE $fs/usr/share
33 cp -a $install/usr/lib/python* $fs/usr/lib
35 }