wok-current annotate perl-gtk2-trayicon/receipt @ rev 24549
updated firehol (3.1.6 -> 3.1.7)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 07:59:08 2022 +0100 (2022-02-25) |
parents | ca4a422cce07 |
children |
rev | line source |
---|---|
pascal@11256 | 1 # SliTaz package receipt. |
pascal@11256 | 2 |
pascal@11256 | 3 PACKAGE="perl-gtk2-trayicon" |
Hans-G?nter@24216 | 4 VERSION="0.07" |
pascal@11256 | 5 CATEGORY="development" |
pascal@11256 | 6 SHORT_DESC="Gtk2::TrayIcon module is a Perl extension." |
pascal@11256 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@24216 | 9 WEB_SITE="https://metacpan.org/pod/Gtk2::TrayIcon" |
Hans-G?nter@24216 | 10 REPOLOGY="perl:gtk2-trayicon" |
pascal@11256 | 11 SOURCE="Gtk2-TrayIcon" |
pascal@11256 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@24216 | 13 WGET_URL="https://www.cpan.org/modules/by-module/Gtk2/$TARBALL" |
pascal@11256 | 14 |
Hans-G?nter@24216 | 15 DEPENDS="libxml2 perl-gtk2" |
Hans-G?nter@24216 | 16 BUILD_DEPENDS="gtk+-dev libxml2-dev perl-gtk2 perl-extutils-depends |
Hans-G?nter@24216 | 17 perl-extutils-pkgconfig" |
pascal@11256 | 18 |
pascal@24103 | 19 current_version() |
pascal@24103 | 20 { |
pascal@24103 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24103 | 22 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24103 | 23 } |
pascal@24103 | 24 |
pascal@11256 | 25 # Rules to configure and make the package. |
pascal@11256 | 26 compile_rules() |
pascal@11256 | 27 { |
pascal@11256 | 28 perl Makefile.PL && |
pascal@11256 | 29 make && |
Hans-G?nter@24216 | 30 make install DESTDIR=$DESTDIR |
pascal@11256 | 31 } |
pascal@11256 | 32 |
pascal@11256 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11256 | 34 genpkg_rules() |
pascal@11256 | 35 { |
Hans-G?nter@24216 | 36 cook_copy_folders lib |
pascal@11256 | 37 } |