wok-current annotate gst-python/receipt @ rev 13982
Add tcpreplay
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 07 17:41:21 2013 +0100 (2013-02-07) |
parents | e6caf76b997d |
children | f1f0f4bab8de |
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 |
slaxemulator@11187 | 18 ./configure --prefix=/usr \ |
slaxemulator@11187 | 19 --sysconfdir=/etc \ |
slaxemulator@11187 | 20 --localstatedir=/var \ |
slaxemulator@11187 | 21 $CONFIGURE_ARGS && |
jozee@2674 | 22 make && |
slaxemulator@11187 | 23 make DESTDIR=$DESTDIR install |
jozee@2674 | 24 } |
jozee@2674 | 25 |
jozee@2674 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2674 | 27 genpkg_rules() |
jozee@2674 | 28 { |
jozee@2674 | 29 mkdir -p $fs/usr/lib $fs/usr/share |
jozee@2674 | 30 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
jozee@2674 | 31 cp -a $_pkg/usr/lib/python* $fs/usr/lib |
jozee@2674 | 32 |
jozee@2674 | 33 } |