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