wok-6.x annotate perl-cairo/receipt @ rev 3902

Add podofo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 15 12:43:06 2009 +0200 (2009-08-15)
parents
children 11bd296f6d32
rev   line source
claudinei@3179 1 # SliTaz package receipt.
claudinei@3179 2
claudinei@3179 3 PACKAGE="perl-cairo"
claudinei@3179 4 SOURCE="Cairo"
claudinei@3179 5 VERSION="1.061"
claudinei@3179 6 CATEGORY="development"
claudinei@3179 7 SHORT_DESC="Perl interface to the cairo library."
claudinei@3179 8 MAINTAINER="claudinei@slitaz.org"
claudinei@3179 9 DEPENDS="perl cairo freetype fontconfig libpng"
claudinei@3179 10 BUILD_DEPENDS="perl cairo-dev freetype-dev fontconfig-dev libpng-dev \
claudinei@3179 11 perl-extutils-depends perl-extutils-pkgconfig perl-test-number-delta"
claudinei@3179 12 TARBALL="$SOURCE-$VERSION.tar.gz"
claudinei@3179 13 WEB_SITE="http://cpan.org/"
claudinei@3179 14 WGET_URL="http://cpan.org/authors/id/T/TS/TSCH/$TARBALL"
claudinei@3179 15
claudinei@3179 16 # Rules to configure and make the package.
claudinei@3179 17 compile_rules()
claudinei@3179 18 {
claudinei@3179 19 cd $src
claudinei@3179 20 perl Makefile.PL &&
claudinei@3179 21 make &&
claudinei@3179 22 make DESTDIR=$PWD/_pkg install
claudinei@3179 23 }
claudinei@3179 24
claudinei@3179 25 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3179 26 genpkg_rules()
claudinei@3179 27 {
claudinei@3179 28 mkdir -p $fs/usr
claudinei@3179 29 cp -a $_pkg/usr/lib $fs/usr
claudinei@3179 30 }
claudinei@3179 31