wok annotate pygtk/receipt @ rev 5721
clamav: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 24 17:10:47 2010 +0200 (2010-06-24) |
parents | d019d5389b1c |
children | 1185a6cb9260 |
rev | line source |
---|---|
erjo@1175 | 1 # SliTaz package receipt. |
erjo@1175 | 2 |
erjo@4784 | 3 PACKED_SIZE="8.0k" |
erjo@4784 | 4 UNPACKED_SIZE="4.0k" |
erjo@1175 | 5 PACKAGE="pygtk" |
erjo@4693 | 6 VERSION="2.16.0" |
erjo@1175 | 7 CATEGORY="development" |
erjo@1175 | 8 SHORT_DESC="GTK+ for Python" |
erjo@1175 | 9 MAINTAINER="erjo@slitaz.org" |
pascal@2455 | 10 DEPENDS="python pycairo pygobject expat gtk+ libglade libxml2 xorg-libX11 \ |
pascal@2455 | 11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext \ |
paul@4470 | 12 xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \ |
erjo@4784 | 13 xorg-libXdamage libffi " |
erjo@4784 | 14 BUILD_DEPENDS="pygobject-dev pycairo-dev libglade-dev python-dev xcb-util-dev expat-dev" |
erjo@1175 | 15 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@1175 | 16 WEB_SITE="http://www.pygtk.org/" |
erjo@4693 | 17 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.16/$TARBALL" |
erjo@4693 | 18 |
erjo@1175 | 19 |
erjo@1175 | 20 # Rules to configure and make the package. |
erjo@1175 | 21 compile_rules() |
erjo@1175 | 22 { |
erjo@1175 | 23 cd $src |
erjo@1175 | 24 ./configure --prefix=/usr \ |
erjo@1175 | 25 --infodir=/usr/share/info \ |
erjo@1175 | 26 --disable-docs \ |
pascal@1647 | 27 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1647 | 28 make && |
erjo@1175 | 29 make DESTDIR=$PWD/_pkg install |
erjo@1175 | 30 } |
erjo@1175 | 31 |
erjo@1175 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1175 | 33 genpkg_rules() |
erjo@1175 | 34 { |
pankso@3432 | 35 mkdir -p $fs/usr/lib |
erjo@1175 | 36 cp -a $_pkg/usr/lib/python2.5 $fs/usr/lib |
erjo@1175 | 37 } |