wok-6.x view perl-glib-object-introspection/receipt @ rev 24569

sokojs: add shrink.sh (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 26 18:46:53 2022 +0000 (2022-02-26)
parents 2846eed9ee6d
children
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-glib-object-introspection"
4 VERSION="0.049"
5 CATEGORY="development"
6 SHORT_DESC="Dynamically create Perl language bindings."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="GPL2+"
9 WEB_SITE="https://metacpan.org/dist/Glib-Object-Introspection/"
10 REPOLOGY="perl:glib-object-introspection"
12 SOURCE="Glib-Object-Introspection"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://cpan.metacpan.org/authors/id/X/XA/XAOC/$TARBALL"
16 DEPENDS="glib libxml2 perl-glib"
17 BUILD_DEPENDS="glib-dev gobject-introspection-dev libxml2-dev perl
18 perl-extutils-depends perl-extutils-pkgconfig perl-glib"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | \
24 sed '/bject-Introspection-/!d;s|.*bject-Introspection-||;s| -.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 perl Makefile.PL &&
31 make &&
32 make install DESTDIR=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_folders lib
39 }