wok annotate perl-cairo/receipt @ rev 24600
updated ghostscript and ghostscript-dev again (9.02 -> 9.55.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 02 07:43:51 2022 +0100 (2022-03-02) |
parents | 15650f5d595b |
children |
rev | line source |
---|---|
claudinei@3179 | 1 # SliTaz package receipt. |
claudinei@3179 | 2 |
claudinei@3179 | 3 PACKAGE="perl-cairo" |
Hans-G?nter@24182 | 4 VERSION="1.109" |
claudinei@3179 | 5 CATEGORY="development" |
claudinei@3179 | 6 SHORT_DESC="Perl interface to the cairo library." |
claudinei@3179 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
Hans-G?nter@24182 | 9 WEB_SITE="https://metacpan.org/pod/Cairo" |
Hans-G?nter@24182 | 10 REPOLOGY="perl:cairo" |
Hans-G?nter@23293 | 11 |
Hans-G?nter@23293 | 12 SOURCE="Cairo" |
claudinei@3179 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23293 | 14 WGET_URL="https://cpan.metacpan.org/authors/id/X/XA/XAOC/$TARBALL" |
Hans-G?nter@23293 | 15 |
Hans-G?nter@24182 | 16 DEPENDS="cairo fontconfig freetype libpng libxml2 perl" |
Hans-G?nter@24182 | 17 BUILD_DEPENDS="cairo cairo-dev fontconfig-dev freetype-dev libpng-dev |
Hans-G?nter@24182 | 18 libxml2-dev perl perl-extutils-depends perl-extutils-pkgconfig |
Hans-G?nter@24182 | 19 perl-test-number-delta" |
claudinei@3179 | 20 |
pascal@24102 | 21 current_version() |
pascal@24102 | 22 { |
pascal@24102 | 23 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 24 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 25 } |
pascal@24102 | 26 |
claudinei@3179 | 27 # Rules to configure and make the package. |
claudinei@3179 | 28 compile_rules() |
claudinei@3179 | 29 { |
claudinei@3179 | 30 perl Makefile.PL && |
claudinei@3179 | 31 make && |
Hans-G?nter@24182 | 32 make install DESTDIR=$DESTDIR |
claudinei@3179 | 33 } |
claudinei@3179 | 34 |
claudinei@3179 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3179 | 36 genpkg_rules() |
claudinei@3179 | 37 { |
Hans-G?nter@24182 | 38 cook_copy_folders lib |
claudinei@3179 | 39 } |