wok-next annotate perl-json/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 4e6503d7a19f
children f17e1f86f546
rev   line source
nneul@17850 1 # SliTaz package receipt.
nneul@17850 2
nneul@17850 3 PACKAGE="perl-json"
al@20820 4 VERSION="2.97001"
al@19709 5 CATEGORY="perl"
al@19709 6 SHORT_DESC="JSON - JSON (JavaScript Object Notation) encoder/decoder"
al@21020 7 MAINTAINER="devel@slitaz.org"
al@19709 8 LICENSE="GPL"
al@19709 9 WEB_SITE="https://metacpan.org/release/JSON"
al@20884 10 REPOLOGY="perl:json"
al@19709 11
al@19709 12 TARBALL="JSON-$VERSION.tar.gz"
al@20820 13 WGET_URL="https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/$TARBALL"
al@19709 14
nneul@17850 15 BUILD_DEPENDS="perl"
nneul@17850 16
al@21020 17 compile_rules() {
nneul@17850 18 perl Makefile.PL &&
al@21020 19 make &&
al@21020 20 make DESTDIR=$install install &&
al@19709 21
al@19709 22 chmod -R u+w $install
nneul@17850 23 }
nneul@17850 24
al@21020 25 genpkg_rules() {
al@19709 26 copy @std
al@21020 27 DEPENDS="perl"
nneul@17850 28 }