wok-next diff perl-xml-simple/receipt @ rev 72
UP : tazpkg (1.5)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Dec 26 11:33:50 2007 +0100 (2007-12-26) |
parents | |
children | 17a39e4461e4 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/perl-xml-simple/receipt Wed Dec 26 11:33:50 2007 +0100 1.3 @@ -0,0 +1,29 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="perl-xml-simple" 1.7 +VERSION="2.18" 1.8 +CATEGORY="extra" 1.9 +SHORT_DESC="XML::Simple module is used to read and write XML." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="perl" 1.12 +SOURCE="XML-Simple" 1.13 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://cpan.org/" 1.15 +WGET_URL="http://cpan.org/authors/id/G/GR/GRANTM/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + perl Makefile.PL 1.22 + make 1.23 + make DESTDIR=$PWD/_pkg install 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + mkdir -p $fs/usr 1.30 + cp -a $_pkg/usr/lib $fs/usr 1.31 +} 1.32 +