wok-next annotate cairomm/receipt @ rev 8949
strigi: update BUILD_DEPENDS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 01 23:37:28 2011 +0100 (2011-03-01) |
parents | 971a877972d9 |
children | 45acb69c4967 |
rev | line source |
---|---|
pankso@833 | 1 # SliTaz package receipt. |
pankso@833 | 2 |
pankso@833 | 3 PACKAGE="cairomm" |
slaxemulator@7541 | 4 VERSION="1.8.6" |
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 } |
slaxemulator@6397 | 33 |