wok-current annotate perl-xml-parser/receipt @ rev 10234
Up: mesa to 7.10.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 21 00:34:13 2011 +0000 (2011-05-21) |
parents | 89e187b7d309 |
children | 3ff5b63831c2 |
rev | line source |
---|---|
pankso@18 | 1 # SliTaz package receipt. |
pankso@18 | 2 |
pankso@18 | 3 PACKAGE="perl-xml-parser" |
slaxemulator@7242 | 4 VERSION="2.40" |
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" |
pascal@2457 | 8 DEPENDS="perl expat" |
pankso@116 | 9 BUILD_DEPENDS="perl expat-dev" |
pankso@18 | 10 SOURCE="XML-Parser" |
pankso@18 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@7242 | 12 WEB_SITE="http://search.cpan.org/dist/XML-Parser/" |
slaxemulator@7242 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/$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 |
pascal@2457 | 19 perl Makefile.PL && |
pascal@2457 | 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 |