wok-current annotate perl-config-inifiles/receipt @ rev 5811
viewnior: update BUILD_DEPENDS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 12 16:51:03 2010 +0200 (2010-07-12) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
pascal@3246 | 1 # SliTaz package receipt. |
pascal@3246 | 2 |
pascal@3246 | 3 PACKAGE="perl-config-inifiles" |
pascal@3246 | 4 VERSION="2.49" |
pascal@3246 | 5 CATEGORY="development" |
pascal@3246 | 6 SHORT_DESC="Config::IniFiles module is a Perl extension." |
pascal@3246 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@3246 | 8 DEPENDS="perl" |
pascal@3246 | 9 BUILD_DEPENDS="perl" |
pascal@3246 | 10 SOURCE="Config-IniFiles" |
pascal@3246 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@3246 | 12 WEB_SITE="http://cpan.org/" |
pascal@3246 | 13 WGET_URL="http://cpan.org/authors/id/S/SH/SHLOMIF/$TARBALL" |
pascal@3246 | 14 |
pascal@3246 | 15 # Rules to configure and make the package. |
pascal@3246 | 16 compile_rules() |
pascal@3246 | 17 { |
pascal@3246 | 18 cd $src |
pascal@3246 | 19 perl Makefile.PL |
pascal@3246 | 20 make |
pascal@3246 | 21 make DESTDIR=$PWD/_pkg install |
pascal@3246 | 22 } |
pascal@3246 | 23 |
pascal@3246 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3246 | 25 genpkg_rules() |
pascal@3246 | 26 { |
pascal@3246 | 27 mkdir -p $fs/usr |
pascal@3246 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@3246 | 29 } |
pascal@3246 | 30 |