wok-next annotate perl-json/receipt @ rev 20137
mariadb: receipt v2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 31 21:42:04 2017 +0100 (2017-10-31) |
parents | b295d522518c |
children | 44d2daaccb67 |
rev | line source |
---|---|
nneul@17850 | 1 # SliTaz package receipt. |
nneul@17850 | 2 |
nneul@17850 | 3 PACKAGE="perl-json" |
nneul@17850 | 4 VERSION="2.90" |
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@19709 | 10 |
al@19709 | 11 TARBALL="JSON-$VERSION.tar.gz" |
al@19709 | 12 WGET_URL="https://cpan.metacpan.org/authors/id/M/MA/MAKAMAKA/$TARBALL" |
al@19709 | 13 |
nneul@17850 | 14 DEPENDS="perl" |
nneul@17850 | 15 BUILD_DEPENDS="perl" |
nneul@17850 | 16 |
nneul@17850 | 17 # Rules to configure and make the package. |
nneul@17850 | 18 compile_rules() |
nneul@17850 | 19 { |
nneul@17850 | 20 perl Makefile.PL && |
al@19709 | 21 make && make DESTDIR=$install install && |
al@19709 | 22 |
al@19709 | 23 chmod -R u+w $install |
nneul@17850 | 24 } |
nneul@17850 | 25 |
nneul@17850 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@17850 | 27 genpkg_rules() |
nneul@17850 | 28 { |
al@19709 | 29 copy @std |
nneul@17850 | 30 } |