wok view perl-cairo/receipt @ rev 18475
Up tazpkg-test(845): fix installing to "non directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 06 15:50:16 2015 +0300 (2015-10-06) |
parents | 29a568856cdf |
children | 20661c276bcf |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-cairo"
4 SOURCE="Cairo"
5 VERSION="1.103"
6 CATEGORY="development"
7 SHORT_DESC="Perl interface to the cairo library."
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="LGPL2.1"
10 DEPENDS="perl cairo freetype fontconfig libpng"
11 BUILD_DEPENDS="perl cairo-dev freetype-dev fontconfig-dev libpng-dev \
12 perl-extutils-depends perl-extutils-pkgconfig perl-test-number-delta"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WEB_SITE="http://search.cpan.org/~xaoc/Cairo-1.103/"
15 WGET_URL="http://search.cpan.org/CPAN/authors/id/X/XA/XAOC/$TARBALL"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 perl Makefile.PL &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 }