wok-next annotate perl-xml-entities/receipt @ rev 16064
ARM: add a bunch of packages including Xterm
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Mar 12 03:53:08 2014 +0100 (2014-03-12) |
parents | a2c722329bbe |
children | 1a86cb99cbbf |
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 |