wok-next annotate perl-gd/receipt @ rev 5315
Up: emacs-pkg-lua-mode (2010-04-04)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Wed Apr 21 18:25:39 2010 +0200 (2010-04-21) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
pascal@4940 | 1 # SliTaz package receipt. |
pascal@4940 | 2 |
pascal@4940 | 3 PACKAGE="perl-gd" |
pascal@4940 | 4 VERSION="2.44" |
pascal@4940 | 5 CATEGORY="development" |
pascal@4940 | 6 SHORT_DESC="GD module is a Perl extension." |
pascal@4940 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@4940 | 8 DEPENDS="perl libgd" |
pascal@4940 | 9 BUILD_DEPENDS="perl libgd-dev libgd" |
pascal@4940 | 10 SOURCE="GD" |
pascal@4940 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@4940 | 12 WEB_SITE="http://cpan.org/" |
pascal@4940 | 13 WGET_URL="http://cpan.org/authors/id/L/LD/LDS/$TARBALL" |
pascal@4940 | 14 |
pascal@4940 | 15 # Rules to configure and make the package. |
pascal@4940 | 16 compile_rules() |
pascal@4940 | 17 { |
pascal@4940 | 18 cd $src |
pascal@4940 | 19 perl Makefile.PL |
pascal@4940 | 20 make |
pascal@4940 | 21 make DESTDIR=$PWD/_pkg install |
pascal@4940 | 22 } |
pascal@4940 | 23 |
pascal@4940 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4940 | 25 genpkg_rules() |
pascal@4940 | 26 { |
pascal@4940 | 27 mkdir -p $fs/usr |
pascal@4940 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@4940 | 29 } |
pascal@4940 | 30 |