wok-current view perl-gtk2/receipt @ rev 25254
updated pywebkitgtk (1.1.7 -> 1.1.8)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jul 14 07:55:02 2022 +0100 (2022-07-14) |
parents | 98ee55c71888 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-gtk2"
4 VERSION="1.24993"
5 CATEGORY="development"
6 SHORT_DESC="Perl interface to the 2.x series of the Gimp Toolkit Library."
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://metacpan.org/release/Gtk2"
11 SOURCE="Gtk2"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://cpan.metacpan.org/authors/id/X/XA/XAOC/$TARBALL"
15 DEPENDS="gtk+ perl perl-cairo perl-glib perl-pango"
16 BUILD_DEPENDS="gtk+-dev perl perl-cairo perl-extutils-depends
17 perl-extutils-pkgconfig perl-glib perl-pango xorg-dev
18 xorg-kbproto xorg-renderproto xorg-xproto"
20 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null | \
23 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 perl Makefile.PL &&
30 make &&
31 make install DESTDIR=$DESTDIR
33 rm -rf $pkgdir/installnone
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $install/usr/lib $fs/usr
41 }