wok-6.x annotate perl-glib/receipt @ rev 24418

clamtk: replaced perl-gtk2 by perl-gtk3
author Hans-G?nter Theisgen
date Fri Feb 11 09:25:31 2022 +0100 (2022-02-11)
parents 15650f5d595b
children
rev   line source
claudinei@3179 1 # SliTaz package receipt.
claudinei@3179 2
claudinei@3179 3 PACKAGE="perl-glib"
Hans-G?nter@24215 4 VERSION="1.3293"
claudinei@3179 5 CATEGORY="development"
claudinei@3179 6 SHORT_DESC="Perl wrappers for the GLib utility and Object libraries."
claudinei@3179 7 MAINTAINER="claudinei@slitaz.org"
pascal@14996 8 LICENSE="LGPL2.1"
Hans-G?nter@24215 9 WEB_SITE="https://metacpan.org/pod/Glib"
Hans-G?nter@24215 10 REPOLOGY="perl:glib"
Hans-G?nter@23338 11
Hans-G?nter@23338 12 SOURCE="Glib"
claudinei@3179 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@24215 14 WGET_URL="https://www.cpan.org/modules/by-module/Glib/$TARBALL"
claudinei@3179 15
Hans-G?nter@23338 16 DEPENDS="glib perl"
Hans-G?nter@23338 17 BUILD_DEPENDS="glib-dev perl perl-extutils-depends perl-extutils-pkgconfig"
Hans-G?nter@23338 18
pascal@24102 19 current_version()
pascal@24102 20 {
pascal@24102 21 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24102 22 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24102 23 }
pascal@24102 24
claudinei@3179 25 # Rules to configure and make the package.
claudinei@3179 26 compile_rules()
claudinei@3179 27 {
claudinei@3179 28 perl Makefile.PL &&
claudinei@3179 29 make &&
slaxemulator@10170 30 make install DESTDIR=$DESTDIR
Hans-G?nter@23338 31
Hans-G?nter@24215 32 rm -rf $pkgdir/installnone
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@24215 38 cook_copy_folders lib
claudinei@3179 39 }