wok-next view pygobject/receipt @ rev 9608

busybox: fix french translation for top and pcan desktop files
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 14 23:00:12 2011 +0200 (2011-04-14)
parents a1a90bd36fc1
children 3acde357cf8c
line source
1 # SliTaz package receipt.
3 PACKAGE="pygobject"
4 VERSION="2.28.3"
5 CATEGORY="development"
6 SHORT_DESC="Python bindings for the GObject library"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="python pycairo glib libffi libgio gobject-introspection"
9 BUILD_DEPENDS="python python-dev pkg-config glib-dev libgio-dev pycairo-dev cairo-dev libffi-dev gobject-introspection-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.pygtk.org/docs/pygobject/index.html"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure && make && make install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
25 mkdir -p $fs/usr/lib
26 cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib
27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
28 }