wok-next view cairo/receipt @ rev 5113
hal: rm bashism,update hal-functions path;add missing ntfs-3g hal policy
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Thu Mar 18 13:03:23 2010 +0000 (2010-03-18) |
parents | 77054f0a1cbb |
children | 9bad6e3f4f76 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cairo"
4 VERSION="1.8.8"
5 CATEGORY="x-window"
6 SHORT_DESC="2D graphics library."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="glib pixman libpng zlib expat fontconfig freetype xorg-libX11 \
9 xorg-libXau xorg-libXdmcp xorg-libXrender"
10 BUILD_DEPENDS="pkg-config pixman-dev libpng-dev zlib-dev fontconfig-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://www.cairographics.org/"
13 WGET_URL="http://cairographics.org/releases/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --mandir=/usr/share/man \
22 --with-html-dir=/usr/share/doc \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 }