wok-next annotate cairomm/receipt @ rev 5646
Fix: mercurial add CONFIG_FILES for smarter upgrade
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 29 11:51:06 2010 +0200 (2010-05-29) |
parents | 39011a13b555 |
children | 971a877972d9 |
rev | line source |
---|---|
pankso@833 | 1 # SliTaz package receipt. |
pankso@833 | 2 |
pankso@833 | 3 PACKAGE="cairomm" |
slaxemulator@5433 | 4 VERSION="1.8.4" |
pankso@833 | 5 CATEGORY="x-window" |
pankso@833 | 6 SHORT_DESC="2D graphics library (mm)." |
pankso@833 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@4999 | 8 DEPENDS="pixman cairo libsigc++ xcb-util gcc-lib-base" |
slaxemulator@5433 | 9 BUILD_DEPENDS="pixman-dev cairo-dev libsigc++-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 } |