wok view perl-json/receipt @ rev 23835
Up axel (2.17.8), bluez (5.54), cpio (2.13), dnsmasq (2.81), libssh (0.9.4), unbound (1.10.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 01 09:34:18 2020 +0000 (2020-06-01) |
parents | 6e8b1bcb30e2 |
children | 15650f5d595b |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-json"
4 VERSION="4.02"
5 CATEGORY="development"
6 SHORT_DESC="Perl Module JSON."
7 MAINTAINER="nneul@neulinger.org"
8 LICENSE="Artistic"
9 WEB_SITE="https://metacpan.org/release/JSON/"
11 SOURCE="JSON"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://www.cpan.org/modules/by-module/JSON/$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
32 # remove perllocal.pod and .packlist
33 find $fs -name perllocal.pod -delete
34 find $fs -name .packlist -delete
35 }