wok view perl-glib/receipt @ rev 24116

Add btfs (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 02 18:25:40 2021 +0000 (2021-10-02)
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 }