wok annotate cairomm/receipt @ rev 1615

Add perl-curses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 19 21:40:31 2008 +0000 (2008-10-19)
parents 3d99ecce2d4b
children 71ac043c8879
rev   line source
pankso@833 1 # SliTaz package receipt.
pankso@833 2
pankso@833 3 PACKAGE="cairomm"
pankso@833 4 VERSION="1.6.0"
pankso@833 5 CATEGORY="x-window"
pankso@833 6 SHORT_DESC="2D graphics library (mm)."
pankso@833 7 MAINTAINER="pankso@slitaz.org"
pankso@833 8 DEPENDS="pixman"
pascal@1514 9 BUILD_DEPENDS="pixman-dev cairo-dev"
pankso@833 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@833 11 WEB_SITE="http://www.cairographics.org/"
pankso@833 12 WGET_URL="http://cairographics.org/releases/$TARBALL"
pankso@833 13
pankso@833 14 # Rules to configure and make the package.
pankso@833 15 compile_rules()
pankso@833 16 {
pankso@833 17 cd $src
pankso@833 18 ./configure \
pankso@833 19 --prefix=/usr \
pankso@833 20 --mandir=/usr/share/man \
pankso@833 21 --with-html-dir=/usr/share/doc \
pascal@1511 22 $CONFIGURE_ARGS &&
pascal@1511 23 make &&
pankso@833 24 make DESTDIR=$PWD/_pkg install
pankso@833 25 }
pankso@833 26
pankso@833 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@833 28 genpkg_rules()
pankso@833 29 {
pankso@833 30 mkdir -p $fs/usr/lib
pankso@833 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@833 32 }