wok-6.x annotate perl-cairo/receipt @ rev 21116
Up reiserfsprogs (3.6.27)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 19 19:34:17 2019 +0100 (2019-03-19) |
parents | 20661c276bcf |
children | d1c6b019c94e |
rev | line source |
---|---|
claudinei@3179 | 1 # SliTaz package receipt. |
claudinei@3179 | 2 |
claudinei@3179 | 3 PACKAGE="perl-cairo" |
claudinei@3179 | 4 SOURCE="Cairo" |
pascal@20905 | 5 VERSION="1.106" |
claudinei@3179 | 6 CATEGORY="development" |
claudinei@3179 | 7 SHORT_DESC="Perl interface to the cairo library." |
claudinei@3179 | 8 MAINTAINER="claudinei@slitaz.org" |
pascal@14996 | 9 LICENSE="LGPL2.1" |
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" |
pascal@20905 | 14 WEB_SITE="https://metacpan.org/release/Cairo" |
pascal@20682 | 15 WGET_URL="https://metacpan.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 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 |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
claudinei@3179 | 30 } |