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