wok-6.x annotate gst-python/receipt @ rev 2710
ffmpeg mktemp patch fails so cp configure
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed Apr 22 19:00:20 2009 +0000 (2009-04-22) |
parents | b69fa54df055 |
children | 543e5273625e |
rev | line source |
---|---|
jozee@2674 | 1 # SliTaz package receipt. |
jozee@2674 | 2 |
jozee@2674 | 3 PACKAGE="gst-python" |
jozee@2674 | 4 VERSION="0.10.14" |
jozee@2674 | 5 CATEGORY="multimedia" |
jozee@2674 | 6 SHORT_DESC="GStreamer Python Plugins" |
jozee@2674 | 7 MAINTAINER="jozee@slitaz.org" |
jozee@2674 | 8 DEPENDS="pygobject gstreamer" |
jozee@2697 | 9 BUILD_DEPENDS="pygobject-dev gstreamer gstreamer-dev libxml2-dev liboil-dev python-dev glib-dev" |
jozee@2674 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2674 | 11 WEB_SITE="http://gstreamer.freedesktop.org/" |
jozee@2674 | 12 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL" |
jozee@2674 | 13 |
jozee@2674 | 14 # Rules to configure and make the package. |
jozee@2674 | 15 compile_rules() |
jozee@2674 | 16 { |
jozee@2674 | 17 cd $src |
jozee@2674 | 18 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var && |
jozee@2674 | 19 make && |
jozee@2674 | 20 make DESTDIR=$PWD/_pkg install |
jozee@2674 | 21 } |
jozee@2674 | 22 |
jozee@2674 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2674 | 24 genpkg_rules() |
jozee@2674 | 25 { |
jozee@2674 | 26 mkdir -p $fs/usr/lib $fs/usr/share |
jozee@2674 | 27 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
jozee@2674 | 28 cp -a $_pkg/usr/lib/python* $fs/usr/lib |
jozee@2674 | 29 |
jozee@2674 | 30 } |