wok-current view pycairo/receipt @ rev 9215

mc, samba, perl-curses: use ncursesw instead of ncurses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 11 11:47:15 2011 +0100 (2011-03-11)
parents d0fa681cee8d
children f0f364ff2de0
line source
1 # SliTaz package receipt.
3 PACKAGE="pycairo"
4 VERSION="1.8.10"
5 CATEGORY="development"
6 SHORT_DESC="Python bindings for the cairo graphics library."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="cairo expat fontconfig freetype xorg-libX11 xorg-libXau \
9 xorg-libXdmcp xorg-libXrender xcb-util"
10 BUILD_DEPENDS="pkg-config cairo cairo-dev xorg-xproto python-dev"
11 _SOURCE="py2cairo" # only tar.gz is named different
12 TARBALL="$_SOURCE-$VERSION.tar.gz"
13 WEB_SITE="http://www.cairographics.org/pycairo/"
14 WGET_URL="http://www.cairographics.org/releases/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib
32 }