wok view perl-glib/receipt @ rev 25074

Add python-ipaddress
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 13 19:39:39 2022 +0000 (23 months ago)
parents 15650f5d595b
children
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-glib"
4 VERSION="1.3293"
5 CATEGORY="development"
6 SHORT_DESC="Perl wrappers for the GLib utility and Object libraries."
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://metacpan.org/pod/Glib"
10 REPOLOGY="perl:glib"
12 SOURCE="Glib"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://www.cpan.org/modules/by-module/Glib/$TARBALL"
16 DEPENDS="glib perl"
17 BUILD_DEPENDS="glib-dev perl perl-extutils-depends perl-extutils-pkgconfig"
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 perl Makefile.PL &&
29 make &&
30 make install DESTDIR=$DESTDIR
32 rm -rf $pkgdir/installnone
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_folders lib
39 }