wok-6.x annotate perl-config-general/receipt @ rev 14698
Add perl-cgi, perl-config-general, perl-http-server-simple, perl-mailtools, perl-mime-lite, perl-mime-types
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 07 16:21:22 2013 +0200 (2013-06-07) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
pascal@14698 | 1 # SliTaz package receipt. |
pascal@14698 | 2 |
pascal@14698 | 3 PACKAGE="perl-config-general" |
pascal@14698 | 4 VERSION="2.51" |
pascal@14698 | 5 CATEGORY="development" |
pascal@14698 | 6 SHORT_DESC="Config::General module is a Perl extension." |
pascal@14698 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14698 | 8 DEPENDS="perl" |
pascal@14698 | 9 BUILD_DEPENDS="perl" |
pascal@14698 | 10 SOURCE="Config-General" |
pascal@14698 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@14698 | 12 WEB_SITE="http://cpan.org/" |
pascal@14698 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/T/TL/TLINDEN/$TARBALL" |
pascal@14698 | 14 |
pascal@14698 | 15 # Rules to configure and make the package. |
pascal@14698 | 16 compile_rules() |
pascal@14698 | 17 { |
pascal@14698 | 18 cd $src |
pascal@14698 | 19 perl Makefile.PL && |
pascal@14698 | 20 make && |
pascal@14698 | 21 make install DESTDIR=$DESTDIR |
pascal@14698 | 22 } |
pascal@14698 | 23 |
pascal@14698 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14698 | 25 genpkg_rules() |
pascal@14698 | 26 { |
pascal@14698 | 27 mkdir -p $fs/usr |
pascal@14698 | 28 cp -a $install/usr/lib $fs/usr |
pascal@14698 | 29 } |
pascal@14698 | 30 |