wok-current view perl-xml-entities/receipt @ rev 4017
Up: asunder (1.9)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Sep 03 22:42:30 2009 +0200 (2009-09-03) |
parents | 884e81df6e37 |
children | ad786a87b22e |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-xml-entities"
4 VERSION="0.0307"
5 CATEGORY="development"
6 SHORT_DESC="XML::Entities module is a Perl extension."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="perl"
9 BUILD_DEPENDS="perl perl-lwp-useragent"
10 SOURCE="XML-Entities"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://www.cpan.org/modules/"
13 WGET_URL="http://search.cpan.org/CPAN/authors/id/S/SI/SIXTEASE/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 mv $SOURCE $src 2> /dev/null
19 cd $src
20 perl Makefile.PL &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/lib $fs/usr
30 }