wok-6.x view perl-json-pp/receipt @ rev 23834
Up alsa-lib (1.2.2), apache-ant (1.10.8), apache (2.4.43), lcms2 (2.10), libexit (0.6.22)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 01 09:10:42 2020 +0000 (2020-06-01) |
parents | 660220d9dba5 |
children | 15650f5d595b |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-json-pp"
4 VERSION="4.04"
5 CATEGORY="development"
6 SHORT_DESC="Perl extension JSON::PP."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/release/JSON-PP"
11 SOURCE="JSON-PP"
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
31 }