wok-current annotate perl-cairo/receipt @ rev 11049
Up: perl-cairo to 1.081.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Oct 16 23:03:09 2011 +0000 (2011-10-16) |
parents | 349d8a3333f4 |
children | 2d12ebd38be4 |
rev | line source |
---|---|
claudinei@3179 | 1 # SliTaz package receipt. |
claudinei@3179 | 2 |
claudinei@3179 | 3 PACKAGE="perl-cairo" |
claudinei@3179 | 4 SOURCE="Cairo" |
slaxemulator@11049 | 5 VERSION="1.081" |
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" |
slaxemulator@11049 | 13 WEB_SITE="http://search.cpan.org/~tsch/Cairo/" |
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 && |
slaxemulator@11049 | 22 make DESTDIR=$DESTDIR 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 |