wok-current view perl-xml-simple/receipt @ rev 1103

Add Wormux game
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jul 18 21:58:03 2008 +0200 (2008-07-18)
parents 8d79fbb0f566
children 3d99ecce2d4b
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-xml-simple"
4 VERSION="2.18"
5 CATEGORY="development"
6 SHORT_DESC="XML::Simple module is used to read and write XML."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="perl"
9 SOURCE="XML-Simple"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://cpan.org/"
12 WGET_URL="http://cpan.org/authors/id/G/GR/GRANTM/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 perl Makefile.PL
19 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/lib $fs/usr
28 }