wok-current annotate perl-json-pp/receipt @ rev 23608
updated nnn (3.0 -> 3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 14 06:12:39 2020 +0100 (2020-04-14) |
parents | 660220d9dba5 |
children | 15650f5d595b |
rev | line source |
---|---|
pascal@20469 | 1 # SliTaz package receipt. |
pascal@20469 | 2 |
pascal@20469 | 3 PACKAGE="perl-json-pp" |
Hans-G?nter@23358 | 4 VERSION="4.04" |
pascal@20469 | 5 CATEGORY="development" |
Hans-G?nter@23358 | 6 SHORT_DESC="Perl extension JSON::PP." |
pascal@20469 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20469 | 8 LICENSE="GPL" |
Hans-G?nter@23358 | 9 WEB_SITE="https://metacpan.org/release/JSON-PP" |
Hans-G?nter@23358 | 10 |
Hans-G?nter@23358 | 11 SOURCE="JSON-PP" |
Hans-G?nter@23358 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23358 | 13 WGET_URL="https://www.cpan.org/modules/by-module/JSON/$TARBALL" |
Hans-G?nter@23358 | 14 |
pascal@20469 | 15 DEPENDS="perl" |
pascal@20469 | 16 BUILD_DEPENDS="perl" |
pascal@20469 | 17 |
pascal@20469 | 18 # Rules to configure and make the package. |
pascal@20469 | 19 compile_rules() |
pascal@20469 | 20 { |
pascal@20469 | 21 perl Makefile.PL && |
pascal@20469 | 22 make && |
pascal@20469 | 23 make DESTDIR=$DESTDIR install |
pascal@20469 | 24 } |
pascal@20469 | 25 |
pascal@20469 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20469 | 27 genpkg_rules() |
pascal@20469 | 28 { |
pascal@20469 | 29 mkdir -p $fs/usr |
Hans-G?nter@23358 | 30 cp -a $install/usr/lib $fs/usr |
pascal@20469 | 31 } |