wok-4.x annotate perl-gtk2-trayicon/receipt @ rev 11461
perl-gtk2-trayicon: add perl-extutils-depends and perl-extutils-pkgconfig to build_depends
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Dec 17 11:45:14 2011 +0100 (2011-12-17) |
parents | e584450f5f0e |
children |
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@11256 | 8 DEPENDS="perl" |
pascal@11256 | 9 BUILD_DEPENDS="perl" |
pascal@11256 | 10 SOURCE="Gtk2-TrayIcon" |
pascal@11256 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@11256 | 12 WEB_SITE="http://cpan.org/" |
pascal@11256 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/B/BO/BORUP/$TARBALL" |
pascal@11256 | 14 |
gokhlayeh@11445 | 15 DEPENDS="perl-gtk2" |
gokhlayeh@11461 | 16 BUILD_DEPENDS="perl-gtk2 perl-extutils-depends perl-extutils-pkgconfig" |
pascal@11256 | 17 |
pascal@11256 | 18 # Rules to configure and make the package. |
pascal@11256 | 19 compile_rules() |
pascal@11256 | 20 { |
pascal@11256 | 21 cd $src |
pascal@11256 | 22 perl Makefile.PL && |
pascal@11256 | 23 make && |
pascal@11256 | 24 make DESTDIR=$PWD/_pkg install |
pascal@11256 | 25 } |
pascal@11256 | 26 |
pascal@11256 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11256 | 28 genpkg_rules() |
pascal@11256 | 29 { |
pascal@11256 | 30 mkdir -p $fs/usr |
pascal@11256 | 31 cp -a $_pkg/usr/lib $fs/usr |
pascal@11256 | 32 } |
pascal@11256 | 33 |