wok view perl-gtk3/receipt @ rev 24779
thttpd: race condition
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 19 18:08:11 2022 +0000 (2022-03-19) |
parents | 2846eed9ee6d |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-gtk3"
4 VERSION="0.038"
5 CATEGORY="development"
6 SHORT_DESC="Perl interface to the 3.x series of the Gimp Toolkit Library."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://metacpan.org/dist/Gtk3"
10 REPOLOGY="perl:gtk3"
12 SOURCE="Gtk3"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://cpan.metacpan.org/authors/id/X/XA/XAOC/$TARBALL"
16 DEPENDS="gtk+3 perl perl-cairo perl-cairo-gobject perl-glib
17 perl-glib-object-introspection perl-pango"
18 BUILD_DEPENDS="gtk+3-dev perl perl-cairo perl-cairo-gobject perl-extutils-depends
19 perl-extutils-pkgconfig perl-glib perl-glib-object-introspection
20 perl-pango xorg-dev xorg-kbproto xorg-renderproto xorg-xproto"
22 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - $WEB_SITE 2>/dev/null | \
26 sed '/Gtk3-/!d;s|.*Gtk3-||;s| -.*||;q'
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 perl Makefile.PL &&
33 make &&
34 make install DESTDIR=$DESTDIR
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_folders lib
41 }