wok-next view perl-gtk2/receipt @ rev 12037
linux, linux-libre: do not create $WOK/tmp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 07 09:10:02 2012 +0100 (2012-03-07) |
parents | b9ac4995acf5 |
children | 2d12ebd38be4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-gtk2"
4 SOURCE="Gtk2"
5 VERSION="1.240"
6 CATEGORY="development"
7 SHORT_DESC="Perl interface to the 2.x series of the Gimp Toolkit Library."
8 MAINTAINER="claudinei@slitaz.org"
9 DEPENDS="perl gtk+ perl-glib perl-pango perl-cairo"
10 BUILD_DEPENDS="perl gtk+-dev perl-extutils-depends perl-extutils-pkgconfig \
11 perl-glib perl-pango perl-cairo xorg-dev xorg-xproto xorg-renderproto \
12 xorg-kbproto"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WEB_SITE="http://search.cpan.org/~flora/Gtk2/"
15 WGET_URL="http://cpan.org/authors/id/T/TS/TSCH/$TARBALL"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 perl Makefile.PL &&
22 make &&
23 make install DESTDIR=$DESTDIR
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/lib $fs/usr
31 }