wok-next view perl-cairo/receipt @ rev 21066
Switch some python packages to traditional build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 06 13:30:23 2018 +0200 (2018-12-06) |
parents | f48456621a9d |
children | f17e1f86f546 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="perl-cairo"
4 VERSION="1.106"
5 CATEGORY="perl"
6 SHORT_DESC="Cairo - Perl interface to the cairo 2d vector graphics library"
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://metacpan.org/release/Cairo"
10 REPOLOGY="perl:cairo"
12 TARBALL="Cairo-$VERSION.tar.gz"
13 WGET_URL="https://cpan.metacpan.org/authors/id/X/XA/XAOC/$TARBALL"
15 BUILD_DEPENDS="cairo freetype perl-extutils-depends perl-extutils-pkgconfig \
16 perl-dev cairo-dev"
18 compile_rules() {
19 perl Makefile.PL &&
20 make &&
21 make DESTDIR=$install install &&
23 chmod -R u+w $install
24 }
26 genpkg_rules() {
27 copy @std *.h
28 DEPENDS="cairo freetype perl-extutils-depends perl-extutils-pkgconfig"
29 }