wok-next annotate cairo-xcb/receipt @ rev 3789
Add python-ldap
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 01 16:32:07 2009 +0200 (2009-08-01) |
parents | 3a4d65af326e |
children |
rev | line source |
---|---|
pascal@2758 | 1 # SliTaz package receipt. |
pascal@2758 | 2 |
pascal@2758 | 3 PACKAGE="cairo-xcb" |
pascal@2758 | 4 VERSION="1.8.4" |
pascal@2758 | 5 CATEGORY="x-window" |
pascal@2758 | 6 SHORT_DESC="2D graphics library." |
pascal@2758 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2759 | 8 SOURCE="cairo" |
pascal@2758 | 9 DEPENDS="glib pixman libpng zlib expat fontconfig freetype xorg-libX11 \ |
pascal@2758 | 10 xorg-libXau xorg-libXdmcp xorg-libXrender xcb-util" |
pascal@2758 | 11 BUILD_DEPENDS="pkg-config pixman-dev libpng-dev zlib-dev fontconfig-dev xcb-util" |
pascal@2759 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@2758 | 13 WEB_SITE="http://www.cairographics.org/" |
pascal@2758 | 14 WGET_URL="http://cairographics.org/releases/$TARBALL" |
pascal@2758 | 15 PROVIDE="cairo" |
pascal@2758 | 16 |
pascal@2758 | 17 # Rules to configure and make the package. |
pascal@2758 | 18 compile_rules() |
pascal@2758 | 19 { |
pascal@2758 | 20 cd $src |
pascal@2758 | 21 ./configure \ |
pascal@2758 | 22 --prefix=/usr \ |
pascal@2758 | 23 --mandir=/usr/share/man \ |
pascal@2758 | 24 --with-html-dir=/usr/share/doc \ |
pascal@2758 | 25 --enable-xcb \ |
pascal@2758 | 26 $CONFIGURE_ARGS && |
pascal@2758 | 27 make && |
pascal@2758 | 28 make DESTDIR=$PWD/_pkg install |
pascal@2758 | 29 } |
pascal@2758 | 30 |
pascal@2758 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2758 | 32 genpkg_rules() |
pascal@2758 | 33 { |
pascal@2758 | 34 mkdir -p $fs/usr/lib |
pascal@2758 | 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@2758 | 36 } |