wok-stable view pygobject/receipt @ rev 6625
Bumped open-iscsi. I think there was a time error with date 10/20/1914 that was cause the problem with it compiling.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Oct 10 02:41:04 2010 +0000 (2010-10-10) |
parents | 5921dc28d8c6 |
children | a1a90bd36fc1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pygobject"
4 VERSION="2.20.0"
5 CATEGORY="development"
6 SHORT_DESC="Python bindings for the GObject library"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="python glib libffi libgio"
9 BUILD_DEPENDS="python python-dev pkg-config glib glib-dev libffi-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.pygtk.org/docs/pygobject/index.html"
12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/pygobject/2.20/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 }