# SliTaz package receipt. PACKAGE="perl-gtk3" VERSION="0.038" CATEGORY="development" SHORT_DESC="Perl interface to the 3.x series of the Gimp Toolkit Library." MAINTAINER="maintainer@slitaz.org" LICENSE="LGPL2.1" WEB_SITE="https://metacpan.org/dist/Gtk3" REPOLOGY="perl:gtk3" SOURCE="Gtk3" TARBALL="$SOURCE-$VERSION.tar.gz" WGET_URL="https://cpan.metacpan.org/authors/id/X/XA/XAOC/$TARBALL" DEPENDS="gtk+3 perl perl-cairo perl-cairo-gobject perl-glib perl-glib-object-introspection perl-pango" BUILD_DEPENDS="gtk+3-dev perl perl-cairo perl-cairo-gobject perl-extutils-depends perl-extutils-pkgconfig perl-glib perl-glib-object-introspection perl-pango xorg-dev xorg-kbproto xorg-renderproto xorg-xproto" # What is the latest version available today? current_version() { wget -O - $WEB_SITE 2>/dev/null | \ sed '/Gtk3-/!d;s|.*Gtk3-||;s| -.*||;q' } # Rules to configure and make the package. compile_rules() { perl Makefile.PL && make && make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_folders lib }