wok-next view perl-cairo/receipt @ rev 13278
Compress modules with xz
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 23 19:24:51 2012 +0200 (2012-08-23) |
parents | 349d8a3333f4 |
children | 2d12ebd38be4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-cairo"
4 SOURCE="Cairo"
5 VERSION="1.081"
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://search.cpan.org/~tsch/Cairo/"
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=$DESTDIR 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 }