wok view perl-gtk2/receipt @ rev 25721

added recipes for xfce4-clipman-plugin and xfce4-clipman-plugin-lang
author Hans-G?nter Theisgen
date Sat Aug 17 16:13:26 2024 +0100 (2 months ago)
parents 15650f5d595b
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/dist/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 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | \
24 sed '/release-name/!d;s|.*-v*||;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
34 rm -rf $pkgdir/installnone
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
41 cp -a $install/usr/lib $fs/usr
42 }