wok-next annotate cairo/receipt @ rev 2038

Up: cairo (1.8.6)
author Fabrice THIROUX <mimas@slitaz.org>
date Tue Jan 13 18:49:19 2009 +0100 (2009-01-13)
parents 392b86e73228
children ccbbfa2e41c7
rev   line source
pankso@22 1 # SliTaz package receipt.
pankso@22 2
pankso@22 3 PACKAGE="cairo"
mimas@2038 4 VERSION="1.8.6"
pankso@22 5 CATEGORY="x-window"
pankso@22 6 SHORT_DESC="2D graphics library."
pankso@22 7 MAINTAINER="pankso@slitaz.org"
pankso@1999 8 DEPENDS="glib pixman libpng zlib"
pankso@1999 9 BUILD_DEPENDS="pkg-config pixman-dev libpng-dev zlib-dev fontconfig-dev"
pankso@22 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@22 11 WEB_SITE="http://www.cairographics.org/"
pankso@22 12 WGET_URL="http://cairographics.org/releases/$TARBALL"
pankso@22 13
pankso@22 14 # Rules to configure and make the package.
pankso@22 15 compile_rules()
pankso@22 16 {
pankso@1999 17 cd $src
pankso@1999 18 ./configure \
pankso@1999 19 --prefix=/usr \
pankso@1999 20 --mandir=/usr/share/man \
pankso@1999 21 --with-html-dir=/usr/share/doc \
pankso@1999 22 $CONFIGURE_ARGS
pankso@1999 23 make
pankso@1999 24 make DESTDIR=$PWD/_pkg install
pankso@22 25 }
pankso@22 26
pankso@22 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@22 28 genpkg_rules()
pankso@22 29 {
pankso@22 30 mkdir -p $fs/usr/lib
pankso@22 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@22 32 }