wok-next view perl-gtk2/receipt @ rev 17797

Add marco
author Yuri Pourre <yuripourre@gmail.com>
date Fri Mar 20 20:00:59 2015 -0300 (2015-03-20)
parents 01b0687cb2a7
children 1a86cb99cbbf
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-gtk2"
4 SOURCE="Gtk2"
5 VERSION="1.247"
6 CATEGORY="development"
7 SHORT_DESC="Perl interface to the 2.x series of the Gimp Toolkit Library."
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="LGPL2.1"
10 DEPENDS="perl gtk+ perl-glib perl-pango perl-cairo"
11 BUILD_DEPENDS="perl gtk+-dev perl-extutils-depends perl-extutils-pkgconfig \
12 perl-glib perl-pango perl-cairo xorg-dev xorg-xproto xorg-renderproto \
13 xorg-kbproto"
14 TARBALL="$SOURCE-$VERSION.tar.gz"
15 WEB_SITE="http://search.cpan.org/~xaoc/Gtk2-1.247/"
16 WGET_URL="http://search.cpan.org/CPAN/authors/id/X/XA/XAOC/$TARBALL"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 perl Makefile.PL &&
23 make &&
24 make install DESTDIR=$DESTDIR
25 rm -rf $pkgdir/installnone
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/lib $fs/usr
33 }