wok annotate perl-xml-entities/receipt @ rev 16311
pango: fix post_install *again*
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 09 08:33:25 2014 +0000 (2014-04-09) |
parents | a2c722329bbe |
children | 6e8b1bcb30e2 |
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@14702 | 8 LICENSE="GPL" |
pascal@2067 | 9 DEPENDS="perl" |
slaxemulator@9838 | 10 BUILD_DEPENDS="perl perl-libwww perl-uri" |
pascal@2067 | 11 SOURCE="XML-Entities" |
pascal@2067 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@10191 | 13 WEB_SITE="http://search.cpan.org/dist/XML-Entities/lib/XML/Entities.pm" |
pascal@2067 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/S/SI/SIXTEASE/$TARBALL" |
pascal@2067 | 15 |
pascal@2067 | 16 # Rules to configure and make the package. |
pascal@2067 | 17 compile_rules() |
pascal@2067 | 18 { |
pascal@2067 | 19 cd $src |
pascal@2067 | 20 perl Makefile.PL && |
pascal@2067 | 21 make && |
slaxemulator@10191 | 22 make install DESTDIR=$DESTDIR |
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@14702 | 29 cp -a $install/usr/lib $fs/usr |
pascal@2067 | 30 } |
pascal@2067 | 31 |