wok-current annotate perl-libjson/receipt @ rev 22044
updated tmux (2.0 -> 2.9)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Oct 22 13:52:50 2019 +0100 (2019-10-22) |
parents | 573d4c473481 |
children | 15650f5d595b |
rev | line source |
---|---|
pascal@17358 | 1 # SliTaz package receipt. |
pascal@17358 | 2 |
pascal@17358 | 3 PACKAGE="perl-libjson" |
pascal@17358 | 4 SOURCE="JSON" |
pascal@17358 | 5 VERSION="2.90" |
pascal@17358 | 6 CATEGORY="development" |
pascal@17358 | 7 SHORT_DESC="JSON (JavaScript Object Notation) encoder/decoder" |
pascal@17358 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17358 | 9 LICENSE="GPL" |
pascal@17358 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@17358 | 11 WEB_SITE="https://metacpan.org/release/JSON" |
pascal@20682 | 12 WGET_URL="https://metacpan.org/CPAN/authors/id/M/MA/MAKAMAKA/$TARBALL" |
pascal@17358 | 13 |
pascal@17741 | 14 DEPENDS="perl" |
pascal@17741 | 15 BUILD_DEPENDS="perl" |
pascal@17741 | 16 |
pascal@17358 | 17 # Rules to configure and make the package. |
pascal@17358 | 18 compile_rules() |
pascal@17358 | 19 { |
pascal@17358 | 20 perl Makefile.PL && |
pascal@17358 | 21 make && |
pascal@17358 | 22 make DESTDIR=$DESTDIR install |
pascal@17358 | 23 } |
pascal@17358 | 24 |
pascal@17358 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17358 | 26 genpkg_rules() |
pascal@17358 | 27 { |
pascal@17358 | 28 mkdir -p $fs/usr |
pascal@17358 | 29 cp -a $install/usr/lib $fs/usr |
pascal@17358 | 30 } |