wok-current view perl-xml-entities/receipt @ rev 15185

linux-source: add mirror src fallback
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 23 18:59:48 2013 +0000 (2013-08-23)
parents a2c722329bbe
children 6e8b1bcb30e2
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-xml-entities"
4 VERSION="1.0000"
5 CATEGORY="development"
6 SHORT_DESC="XML::Entities module is a Perl extension."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 DEPENDS="perl"
10 BUILD_DEPENDS="perl perl-libwww perl-uri"
11 SOURCE="XML-Entities"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="http://search.cpan.org/dist/XML-Entities/lib/XML/Entities.pm"
14 WGET_URL="http://search.cpan.org/CPAN/authors/id/S/SI/SIXTEASE/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 perl Makefile.PL &&
21 make &&
22 make install DESTDIR=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 }