wok-next view pycairo/receipt @ rev 19811

Up btrfs-progs, fuse, gtkmm, gtkmm-dev, jfsutils, libaal, libacpi, libaio, libarchive, libart_lgpl, libass, libbonoboui, libcddb, libcdio, libconfig, libcroco, libcss, libparserutils, libwapcaplet, slitaz-i18n-extra; (re)move locale-*-extra -> slitaz-i18n-extra; add netsurf-buildsystem.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jul 20 00:33:52 2017 +0300 (2017-07-20)
parents 16df76e1fc6a
children 05d4a6d977d4
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pycairo"
4 VERSION="1.10.0"
5 CATEGORY="development"
6 SHORT_DESC="Python bindings for the cairo graphics library"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="MPL LGPL2.1"
9 WEB_SITE="http://www.cairographics.org/pycairo/"
11 TARBALL="py2cairo-$VERSION.tar.bz2"
12 WGET_URL="http://www.cairographics.org/releases/$TARBALL"
14 BUILD_DEPENDS="pkg-config cairo cairo-dev xorg-xproto python-dev"
15 SPLIT="pycairo-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./waf configure --prefix=/usr &&
21 ./waf build &&
22 ./waf install --destdir=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 case $PACKAGE in
29 pycairo)
30 copy @std
31 DEPENDS="cairo expat fontconfig freetype xorg-libX11 xorg-libXau \
32 xorg-libXdmcp xorg-libXrender xcb-util"
33 ;;
34 *-dev) copy @dev;;
35 esac
36 }