wok-next annotate perl-cairo/receipt @ rev 14935
Up: ecore (1.7.8)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Aug 08 19:15:40 2013 +0200 (2013-08-08) |
parents | 2d12ebd38be4 |
children | 76b72f1ad63c |
rev | line source |
---|---|
claudinei@3179 | 1 # SliTaz package receipt. |
claudinei@3179 | 2 |
claudinei@3179 | 3 PACKAGE="perl-cairo" |
claudinei@3179 | 4 SOURCE="Cairo" |
claudinei@14864 | 5 VERSION="1.103" |
claudinei@3179 | 6 CATEGORY="development" |
claudinei@3179 | 7 SHORT_DESC="Perl interface to the cairo library." |
claudinei@3179 | 8 MAINTAINER="claudinei@slitaz.org" |
pascal@14702 | 9 LICENSE="GPL" |
claudinei@3179 | 10 DEPENDS="perl cairo freetype fontconfig libpng" |
claudinei@3179 | 11 BUILD_DEPENDS="perl cairo-dev freetype-dev fontconfig-dev libpng-dev \ |
claudinei@3179 | 12 perl-extutils-depends perl-extutils-pkgconfig perl-test-number-delta" |
claudinei@3179 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@14864 | 14 WEB_SITE="http://search.cpan.org/~xaoc/Cairo-1.103/" |
claudinei@14864 | 15 WGET_URL="http://search.cpan.org/CPAN/authors/id/X/XA/XAOC/$TARBALL" |
claudinei@3179 | 16 |
claudinei@3179 | 17 # Rules to configure and make the package. |
claudinei@3179 | 18 compile_rules() |
claudinei@3179 | 19 { |
claudinei@3179 | 20 cd $src |
claudinei@3179 | 21 perl Makefile.PL && |
claudinei@3179 | 22 make && |
slaxemulator@11049 | 23 make DESTDIR=$DESTDIR install |
claudinei@3179 | 24 } |
claudinei@3179 | 25 |
claudinei@3179 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3179 | 27 genpkg_rules() |
claudinei@3179 | 28 { |
claudinei@3179 | 29 mkdir -p $fs/usr |
pascal@14702 | 30 cp -a $install/usr/lib $fs/usr |
claudinei@3179 | 31 } |
claudinei@3179 | 32 |