wok annotate perl-xml-entities/receipt @ rev 2067

Add perl-xml-entities
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 23 17:45:38 2009 +0000 (2009-01-23)
parents
children 86d71949f3ad
rev   line source
pascal@2067 1 # SliTaz package receipt.
pascal@2067 2
pascal@2067 3 PACKAGE="perl-xml-entities"
pascal@2067 4 VERSION="0.0307"
pascal@2067 5 CATEGORY="development"
pascal@2067 6 SHORT_DESC="XML::Entities module is a Perl extension."
pascal@2067 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@2067 8 DEPENDS="perl"
pascal@2067 9 BUILD_DEPENDS="perl perl-lwp-useragent"
pascal@2067 10 SOURCE="XML-Entities"
pascal@2067 11 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@2067 12 WEB_SITE="http://www.cpan.org/modules/by-authors/id/MJD/Template.html"
pascal@2067 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/S/SI/SIXTEASE/$TARBALL"
pascal@2067 14
pascal@2067 15 # Rules to configure and make the package.
pascal@2067 16 compile_rules()
pascal@2067 17 {
pascal@2067 18 mv $SOURCE $src 2> /dev/null
pascal@2067 19 cd $src
pascal@2067 20 perl Makefile.PL &&
pascal@2067 21 make &&
pascal@2067 22 make DESTDIR=$PWD/_pkg install
pascal@2067 23 }
pascal@2067 24
pascal@2067 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2067 26 genpkg_rules()
pascal@2067 27 {
pascal@2067 28 mkdir -p $fs/usr
pascal@2067 29 cp -a $_pkg/usr/lib $fs/usr
pascal@2067 30 }
pascal@2067 31