wok-next view perl-cairo/receipt @ rev 8661

Added gens-gtk.patch file to fix gens-gs to work with newer gtk+.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Feb 16 00:31:38 2011 +0000 (2011-02-16)
parents
children 11bd296f6d32
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-cairo"
4 SOURCE="Cairo"
5 VERSION="1.061"
6 CATEGORY="development"
7 SHORT_DESC="Perl interface to the cairo library."
8 MAINTAINER="claudinei@slitaz.org"
9 DEPENDS="perl cairo freetype fontconfig libpng"
10 BUILD_DEPENDS="perl cairo-dev freetype-dev fontconfig-dev libpng-dev \
11 perl-extutils-depends perl-extutils-pkgconfig perl-test-number-delta"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="http://cpan.org/"
14 WGET_URL="http://cpan.org/authors/id/T/TS/TSCH/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 perl Makefile.PL &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/lib $fs/usr
30 }