wok-current view perl-glib/receipt @ rev 24181

updated perl-berkeleydb (0.63 -> 0.64)
author Hans-G?nter Theisgen
date Fri Dec 31 13:39:16 2021 +0100 (2021-12-31)
parents e15916d6020c
children 08f840a2b79b
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-glib"
4 VERSION="1.3292"
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/release/Glib"
11 SOURCE="Glib"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://cpan.metacpan.org/authors/id/X/XA/XAOC/$TARBALL"
15 DEPENDS="glib perl"
16 BUILD_DEPENDS="glib-dev perl perl-extutils-depends perl-extutils-pkgconfig"
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 perl Makefile.PL &&
28 make &&
29 make install DESTDIR=$DESTDIR
31 rm -rf $pkgdir/installnone
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/lib $fs/usr
39 }