wok annotate perl-gtk2-trayicon/receipt @ rev 24143

Add ventoy
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 16 17:16:48 2021 +0000 (2021-11-16)
parents 20661c276bcf
children bf59fe730c78
rev   line source
pascal@11256 1 # SliTaz package receipt.
pascal@11256 2
pascal@11256 3 PACKAGE="perl-gtk2-trayicon"
pascal@11256 4 VERSION="0.06"
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"
pascal@11256 9 SOURCE="Gtk2-TrayIcon"
pascal@11256 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@24103 11 WEB_SITE="https://metacpan.org/dist/Gtk2-TrayIcon"
pascal@20682 12 WGET_URL="https://metacpan.org/CPAN/authors/id/B/BO/BORUP/$TARBALL"
pascal@11256 13
gokhlayeh@11445 14 DEPENDS="perl-gtk2"
pascal@14704 15 BUILD_DEPENDS="perl-gtk2 perl-extutils-depends perl-extutils-pkgconfig gtk+-dev"
pascal@11256 16
pascal@24103 17 current_version()
pascal@24103 18 {
pascal@24103 19 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24103 20 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24103 21 }
pascal@24103 22
pascal@11256 23 # Rules to configure and make the package.
pascal@11256 24 compile_rules()
pascal@11256 25 {
pascal@11256 26 cd $src
pascal@11256 27 perl Makefile.PL &&
pascal@11256 28 make &&
pascal@14702 29 make DESTDIR=$DESTDIR install
pascal@11256 30 }
pascal@11256 31
pascal@11256 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11256 33 genpkg_rules()
pascal@11256 34 {
pascal@11256 35 mkdir -p $fs/usr
pascal@14702 36 cp -a $install/usr/lib $fs/usr
pascal@11256 37 }
pascal@11256 38