wok-6.x annotate perl-pango/receipt @ rev 25010

updated ode and ode-dev (0.16.1 -> 0.16.2)
author Hans-G?nter Theisgen
date Mon May 16 17:33:55 2022 +0100 (2022-05-16)
parents 18c66805dd1a
children
rev   line source
claudinei@3179 1 # SliTaz package receipt.
claudinei@3179 2
claudinei@3179 3 PACKAGE="perl-pango"
claudinei@3179 4 SOURCE="Pango"
pascal@20905 5 VERSION="1.227"
claudinei@3179 6 CATEGORY="development"
claudinei@3179 7 SHORT_DESC="Layout and render international text."
claudinei@3179 8 MAINTAINER="claudinei@slitaz.org"
pascal@14996 9 LICENSE="LGPL2.1"
pascal@5005 10 DEPENDS="perl pango perl-glib perl-cairo xcb-util"
claudinei@4667 11 BUILD_DEPENDS="$DEPENDS glib-dev pango-dev cairo-dev freetype-dev \
claudinei@4667 12 libpng-dev fontconfig-dev perl-extutils-depends perl-extutils-pkgconfig"
claudinei@3179 13 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@20905 14 WEB_SITE="https://metacpan.org/release/Pango"
pascal@20905 15 WGET_URL="https://cpan.metacpan.org/authors/id/X/XA/XAOC/$TARBALL"
claudinei@3179 16
pascal@24102 17 current_version()
pascal@24102 18 {
pascal@24102 19 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24102 20 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24102 21 }
pascal@24102 22
claudinei@3179 23 # Rules to configure and make the package.
claudinei@3179 24 compile_rules()
claudinei@3179 25 {
claudinei@3179 26 perl Makefile.PL &&
claudinei@3179 27 make &&
slaxemulator@11050 28 make DESTDIR=$DESTDIR install
claudinei@14873 29 rm -rf $pkgdir/installnone
claudinei@3179 30 }
claudinei@3179 31
claudinei@3179 32 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3179 33 genpkg_rules()
claudinei@3179 34 {
claudinei@3179 35 mkdir -p $fs/usr
pascal@14702 36 cp -a $install/usr/lib $fs/usr
claudinei@3179 37 }