wok-next annotate pycairo/receipt @ rev 8859

Fixed nagios-dev category.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Feb 25 10:31:35 2011 +0000 (2011-02-25)
parents d0fa681cee8d
children f0f364ff2de0
rev   line source
erjo@1175 1 # SliTaz package receipt.
erjo@1175 2
erjo@1175 3 PACKAGE="pycairo"
slaxemulator@6781 4 VERSION="1.8.10"
erjo@1175 5 CATEGORY="development"
erjo@1175 6 SHORT_DESC="Python bindings for the cairo graphics library."
erjo@1175 7 MAINTAINER="erjo@slitaz.org"
pascal@2455 8 DEPENDS="cairo expat fontconfig freetype xorg-libX11 xorg-libXau \
pascal@2844 9 xorg-libXdmcp xorg-libXrender xcb-util"
slaxemulator@6781 10 BUILD_DEPENDS="pkg-config cairo cairo-dev xorg-xproto python-dev"
slaxemulator@6781 11 _SOURCE="py2cairo" # only tar.gz is named different
slaxemulator@6781 12 TARBALL="$_SOURCE-$VERSION.tar.gz"
erjo@1175 13 WEB_SITE="http://www.cairographics.org/pycairo/"
erjo@1175 14 WGET_URL="http://www.cairographics.org/releases/$TARBALL"
erjo@1175 15
erjo@1175 16 # Rules to configure and make the package.
erjo@1175 17 compile_rules()
erjo@1175 18 {
erjo@1175 19 cd $src
erjo@1175 20 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1465 21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1465 22 make &&
erjo@1175 23 make DESTDIR=$PWD/_pkg install
erjo@1175 24 }
erjo@1175 25
erjo@1175 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1175 27 genpkg_rules()
erjo@1175 28 {
pascal@6594 29 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
erjo@1175 30 mkdir -p $fs/usr/lib
pascal@6592 31 cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib
erjo@1175 32 }
erjo@1175 33