wok-6.x diff perl-cairo/receipt @ rev 5257
Up: autoconf (2.65)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 12 20:49:27 2010 +0200 (2010-04-12) |
parents | |
children | 11bd296f6d32 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/perl-cairo/receipt Mon Apr 12 20:49:27 2010 +0200 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="perl-cairo" 1.7 +SOURCE="Cairo" 1.8 +VERSION="1.061" 1.9 +CATEGORY="development" 1.10 +SHORT_DESC="Perl interface to the cairo library." 1.11 +MAINTAINER="claudinei@slitaz.org" 1.12 +DEPENDS="perl cairo freetype fontconfig libpng" 1.13 +BUILD_DEPENDS="perl cairo-dev freetype-dev fontconfig-dev libpng-dev \ 1.14 +perl-extutils-depends perl-extutils-pkgconfig perl-test-number-delta" 1.15 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.16 +WEB_SITE="http://cpan.org/" 1.17 +WGET_URL="http://cpan.org/authors/id/T/TS/TSCH/$TARBALL" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src 1.23 + perl Makefile.PL && 1.24 + make && 1.25 + make DESTDIR=$PWD/_pkg install 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + mkdir -p $fs/usr 1.32 + cp -a $_pkg/usr/lib $fs/usr 1.33 +} 1.34 +