wok-current annotate perl-xml-entities/receipt @ rev 12611
libdesktop-agnostic: fix WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 29 09:38:43 2012 +0200 (2012-04-29) |
parents | fe7e875f7d99 |
children | 2d12ebd38be4 |
rev | line source |
---|---|
pascal@2067 | 1 # SliTaz package receipt. |
pascal@2067 | 2 |
pascal@2067 | 3 PACKAGE="perl-xml-entities" |
slaxemulator@10191 | 4 VERSION="1.0000" |
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" |
slaxemulator@9838 | 9 BUILD_DEPENDS="perl perl-libwww perl-uri" |
pascal@2067 | 10 SOURCE="XML-Entities" |
pascal@2067 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@10191 | 12 WEB_SITE="http://search.cpan.org/dist/XML-Entities/lib/XML/Entities.pm" |
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 cd $src |
pascal@2067 | 19 perl Makefile.PL && |
pascal@2067 | 20 make && |
slaxemulator@10191 | 21 make install DESTDIR=$DESTDIR |
pascal@2067 | 22 } |
pascal@2067 | 23 |
pascal@2067 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2067 | 25 genpkg_rules() |
pascal@2067 | 26 { |
pascal@2067 | 27 mkdir -p $fs/usr |
pascal@2067 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@2067 | 29 } |
pascal@2067 | 30 |