wok-next annotate perl-json/receipt @ rev 21013
Small updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Oct 14 05:29:23 2018 +0300 (2018-10-14) |
parents | 44d2daaccb67 |
children | d5aab818505e |
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" |
nneul@17850 | 7 MAINTAINER="nneul@neulinger.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 DEPENDS="perl" |
nneul@17850 | 16 BUILD_DEPENDS="perl" |
nneul@17850 | 17 |
nneul@17850 | 18 # Rules to configure and make the package. |
nneul@17850 | 19 compile_rules() |
nneul@17850 | 20 { |
nneul@17850 | 21 perl Makefile.PL && |
al@19709 | 22 make && make DESTDIR=$install install && |
al@19709 | 23 |
al@19709 | 24 chmod -R u+w $install |
nneul@17850 | 25 } |
nneul@17850 | 26 |
nneul@17850 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@17850 | 28 genpkg_rules() |
nneul@17850 | 29 { |
al@19709 | 30 copy @std |
nneul@17850 | 31 } |