wok-6.x view perl-xml-simple/receipt @ rev 117

Add : libpcap needed to build tcpdump (Serge)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Jan 05 20:41:02 2008 +0100 (2008-01-05)
parents
children 17a39e4461e4
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-xml-simple"
4 VERSION="2.18"
5 CATEGORY="extra"
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 }