wok-current view perl-xml-simple/receipt @ rev 23975
Up matio (1.5.18), mutt (1.14.7), nasm (2.15.05), net-snmp (5.9), nethack (3.6.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 28 17:24:13 2020 +0000 (2020-10-28) |
parents | 2d12ebd38be4 |
children | 15650f5d595b |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-xml-simple"
4 VERSION="2.25"
5 CATEGORY="development"
6 SHORT_DESC="Perl extension XML::Simple is used to read and write XML."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/release/XML-Simple"
11 SOURCE="XML-Simple"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://www.cpan.org/modules/by-module/XML/$TARBALL"
15 DEPENDS="perl"
16 BUILD_DEPENDS="perl"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 perl Makefile.PL &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 }