summaryrefslogtreecommitdiff
path: root/repo/perl-json
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
committerdavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
commitd2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 (patch)
tree684a17eebf446aa1adab1097616f1882c8d51568 /repo/perl-json
parentd1fc3393cca72e8e432f827f7624e38734fad6dc (diff)
added deps for qemu
Diffstat (limited to 'repo/perl-json')
-rw-r--r--repo/perl-json/perl-json.xibuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/repo/perl-json/perl-json.xibuild b/repo/perl-json/perl-json.xibuild
new file mode 100644
index 0000000..6791825
--- /dev/null
+++ b/repo/perl-json/perl-json.xibuild
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+NAME="perl-json"
+DESC="Perl module implementing a JSON encoder/decoder"
+
+MAKEDEPS=""
+
+PKG_VER=4.05
+SOURCE="https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/JSON-$PKG_VER.tar.gz"
+
+build() {
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ make test
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+ find "$PKG_DEST" -name perllocal.pod -delete
+ find "$PKG_DEST" -name .packlist -delete
+}
+