wok-current annotate perl-gtk2/receipt @ rev 14657
Normalize LICENSE according to wok/licenses package (bsd part)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 05 16:21:04 2013 +0200 (2013-06-05) |
parents | b9ac4995acf5 |
children | 2d12ebd38be4 |
rev | line source |
---|---|
claudinei@3179 | 1 # SliTaz package receipt. |
claudinei@3179 | 2 |
claudinei@3179 | 3 PACKAGE="perl-gtk2" |
claudinei@3179 | 4 SOURCE="Gtk2" |
slaxemulator@11051 | 5 VERSION="1.240" |
claudinei@3179 | 6 CATEGORY="development" |
claudinei@3179 | 7 SHORT_DESC="Perl interface to the 2.x series of the Gimp Toolkit Library." |
claudinei@3179 | 8 MAINTAINER="claudinei@slitaz.org" |
claudinei@3179 | 9 DEPENDS="perl gtk+ perl-glib perl-pango perl-cairo" |
claudinei@3778 | 10 BUILD_DEPENDS="perl gtk+-dev perl-extutils-depends perl-extutils-pkgconfig \ |
claudinei@3778 | 11 perl-glib perl-pango perl-cairo xorg-dev xorg-xproto xorg-renderproto \ |
claudinei@3778 | 12 xorg-kbproto" |
claudinei@3179 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@11051 | 14 WEB_SITE="http://search.cpan.org/~flora/Gtk2/" |
claudinei@3179 | 15 WGET_URL="http://cpan.org/authors/id/T/TS/TSCH/$TARBALL" |
claudinei@3179 | 16 |
claudinei@3179 | 17 # Rules to configure and make the package. |
claudinei@3179 | 18 compile_rules() |
claudinei@3179 | 19 { |
claudinei@3179 | 20 cd $src |
claudinei@3179 | 21 perl Makefile.PL && |
claudinei@3179 | 22 make && |
slaxemulator@10170 | 23 make install DESTDIR=$DESTDIR |
claudinei@3179 | 24 } |
claudinei@3179 | 25 |
claudinei@3179 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3179 | 27 genpkg_rules() |
claudinei@3179 | 28 { |
claudinei@3179 | 29 mkdir -p $fs/usr |
claudinei@3179 | 30 cp -a $_pkg/usr/lib $fs/usr |
claudinei@3179 | 31 } |
claudinei@3179 | 32 |