wok-6.x view gst-python/receipt @ rev 18077

Rebuild Python packages to remove "*.pyc" files from package.lists (part 1).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 22 17:34:18 2015 +0300 (2015-05-22)
parents dead8955c3ca
children a78610b2eb47
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 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://gstreamer.freedesktop.org/"
11 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
13 DEPENDS="pygobject gstreamer gst-plugins-base"
14 BUILD_DEPENDS="pygobject-dev gstreamer-dev gst-plugins-base-dev libxml2-dev \
15 python-dev pkg-config"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
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
34 }