wok annotate perl-gtk2-trayicon/receipt @ rev 20557
Up iperf (2.0.9)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 12 18:18:52 2018 +0100 (2018-12-12) |
parents | 2d12ebd38be4 |
children | 20661c276bcf |
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@11256 | 11 WEB_SITE="http://cpan.org/" |
pascal@11256 | 12 WGET_URL="http://search.cpan.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@11256 | 17 # Rules to configure and make the package. |
pascal@11256 | 18 compile_rules() |
pascal@11256 | 19 { |
pascal@11256 | 20 cd $src |
pascal@11256 | 21 perl Makefile.PL && |
pascal@11256 | 22 make && |
pascal@14702 | 23 make DESTDIR=$DESTDIR install |
pascal@11256 | 24 } |
pascal@11256 | 25 |
pascal@11256 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11256 | 27 genpkg_rules() |
pascal@11256 | 28 { |
pascal@11256 | 29 mkdir -p $fs/usr |
pascal@14702 | 30 cp -a $install/usr/lib $fs/usr |
pascal@11256 | 31 } |
pascal@11256 | 32 |