wok-current annotate perl-xml-entities/receipt @ rev 5447

linmodem-intel-536ep: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 05 13:17:38 2010 +0200 (2010-05-05)
parents 884e81df6e37
children ad786a87b22e
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@2243 12 WEB_SITE="http://www.cpan.org/modules/"
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