wok-4.x annotate gst-python/receipt @ rev 9840
visualboyadvance-gtk: Fixed genpkg_rules.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun May 15 14:14:57 2011 +0000 (2011-05-15) |
parents | 6613102ce5d9 |
children | 6ebd5d014ab8 |
rev | line source |
---|---|
jozee@2674 | 1 # SliTaz package receipt. |
jozee@2674 | 2 |
jozee@2674 | 3 PACKAGE="gst-python" |
slaxemulator@8416 | 4 VERSION="0.10.21" |
jozee@2674 | 5 CATEGORY="multimedia" |
jozee@2674 | 6 SHORT_DESC="GStreamer Python Plugins" |
jozee@2674 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@2851 | 8 DEPENDS="pygobject gstreamer gst-plugins-base" |
slaxemulator@6869 | 9 BUILD_DEPENDS="pygobject-dev gstreamer gstreamer-dev libxml2-dev liboil-dev python-dev glib-dev gst-plugins-base-dev pkg-config" |
slaxemulator@6869 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
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 } |