wok-current view cairomm/receipt @ rev 3533
merge 3532:012d72b2b629 , 3530:0109c31e8835
author | root@bt-199-036.bta.net.cn |
---|---|
date | Mon Jun 22 17:30:40 2009 +0800 (2009-06-22) |
parents | e97c81ccdba0 |
children | 39011a13b555 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cairomm"
4 VERSION="1.8.0"
5 CATEGORY="x-window"
6 SHORT_DESC="2D graphics library (mm)."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="pixman cairo libsigc++ xcb-util"
9 BUILD_DEPENDS="pixman-dev cairo-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.cairographics.org/"
12 WGET_URL="http://cairographics.org/releases/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --mandir=/usr/share/man \
21 --with-html-dir=/usr/share/doc \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 }