wok view perl-cairo/receipt @ rev 9359

devilspie: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 20 14:58:16 2011 +0100 (2011-03-20)
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 }