wok-4.x view perl-xml-parser/receipt @ rev 12471
Mass Rebuild of base packages
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Nov 10 11:11:46 2022 +0000 (2022-11-10) |
parents | 188d10b4d952 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-xml-parser"
4 VERSION="2.40"
5 CATEGORY="development"
6 SHORT_DESC="XML::Parser module is a Perl extension interface to XML expat."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="perl expat"
9 BUILD_DEPENDS="perl expat-dev"
10 SOURCE="XML-Parser"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://search.cpan.org/dist/XML-Parser/"
13 #WGET_URL="http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/$TARBALL"
14 WGET_URL="http://mirror.slitaz.org/sources/packages-4.0/X/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 perl Makefile.PL &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/lib $fs/usr
30 }