wok-stable annotate perl-xml-parser/receipt @ rev 1761
Up: homebank (4.0)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Nov 25 12:23:22 2008 +0100 (2008-11-25) |
parents | 17a39e4461e4 |
children | 89e187b7d309 |
rev | line source |
---|---|
pankso@18 | 1 # SliTaz package receipt. |
pankso@18 | 2 |
pankso@18 | 3 PACKAGE="perl-xml-parser" |
erjo@1011 | 4 VERSION="2.36" |
pankso@204 | 5 CATEGORY="development" |
pankso@116 | 6 SHORT_DESC="XML::Parser module is a Perl extension interface to XML expat." |
pankso@18 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@18 | 8 DEPENDS="perl" |
pankso@116 | 9 BUILD_DEPENDS="perl expat-dev" |
pankso@18 | 10 SOURCE="XML-Parser" |
pankso@18 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@18 | 12 WEB_SITE="http://cpan.org/" |
pankso@18 | 13 WGET_URL="http://cpan.org/authors/id/M/MS/MSERGEANT/$TARBALL" |
pankso@18 | 14 |
pankso@18 | 15 # Rules to configure and make the package. |
pankso@18 | 16 compile_rules() |
pankso@18 | 17 { |
pankso@18 | 18 cd $src |
pankso@18 | 19 perl Makefile.PL |
pankso@18 | 20 make |
pankso@18 | 21 make DESTDIR=$PWD/_pkg install |
pankso@18 | 22 } |
pankso@18 | 23 |
pankso@18 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@18 | 25 genpkg_rules() |
pankso@18 | 26 { |
pankso@18 | 27 mkdir -p $fs/usr |
pankso@18 | 28 cp -a $_pkg/usr/lib $fs/usr |
pankso@18 | 29 } |
pankso@18 | 30 |