wok-next annotate perl-gtk2/receipt @ rev 16263
ARM: add yad and slitaz-boxes
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 05 08:48:26 2014 +0200 (2014-04-05) |
parents | 01b0687cb2a7 |
children | 1a86cb99cbbf |
rev | line source |
---|---|
claudinei@3179 | 1 # SliTaz package receipt. |
claudinei@3179 | 2 |
claudinei@3179 | 3 PACKAGE="perl-gtk2" |
claudinei@3179 | 4 SOURCE="Gtk2" |
claudinei@14868 | 5 VERSION="1.247" |
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" |
pascal@14996 | 9 LICENSE="LGPL2.1" |
claudinei@3179 | 10 DEPENDS="perl gtk+ perl-glib perl-pango perl-cairo" |
claudinei@3778 | 11 BUILD_DEPENDS="perl gtk+-dev perl-extutils-depends perl-extutils-pkgconfig \ |
claudinei@3778 | 12 perl-glib perl-pango perl-cairo xorg-dev xorg-xproto xorg-renderproto \ |
claudinei@3778 | 13 xorg-kbproto" |
claudinei@3179 | 14 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@14868 | 15 WEB_SITE="http://search.cpan.org/~xaoc/Gtk2-1.247/" |
claudinei@14868 | 16 WGET_URL="http://search.cpan.org/CPAN/authors/id/X/XA/XAOC/$TARBALL" |
claudinei@3179 | 17 |
claudinei@3179 | 18 # Rules to configure and make the package. |
claudinei@3179 | 19 compile_rules() |
claudinei@3179 | 20 { |
claudinei@3179 | 21 cd $src |
claudinei@3179 | 22 perl Makefile.PL && |
claudinei@3179 | 23 make && |
slaxemulator@10170 | 24 make install DESTDIR=$DESTDIR |
claudinei@14873 | 25 rm -rf $pkgdir/installnone |
claudinei@3179 | 26 } |
claudinei@3179 | 27 |
claudinei@3179 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3179 | 29 genpkg_rules() |
claudinei@3179 | 30 { |
claudinei@3179 | 31 mkdir -p $fs/usr |
pascal@14702 | 32 cp -a $install/usr/lib $fs/usr |
claudinei@3179 | 33 } |
claudinei@3179 | 34 |