summaryrefslogtreecommitdiff
path: root/archivers/lz4json
diff options
context:
space:
mode:
authorwiz <wiz>2016-09-19 08:02:11 +0000
committerwiz <wiz>2016-09-19 08:02:11 +0000
commit313a5882ce24b1a5aab38c3a99af0207029b0719 (patch)
treef3a2a95b0728776e57dbe0d393eb72e1516ca83d /archivers/lz4json
parentebde29616373e4f3e7bb966bf5160a36f5b5c454 (diff)
downloadpkgsrc-313a5882ce24b1a5aab38c3a99af0207029b0719.tar.gz
Import lz4json-0.0.20160401 as archivers/lz4json.
A little utility to unpack lz4json files as generated by Firefox's bookmark backups. This is a different format from what the normal lz4 utility expects.
Diffstat (limited to 'archivers/lz4json')
-rw-r--r--archivers/lz4json/DESCR3
-rw-r--r--archivers/lz4json/Makefile24
-rw-r--r--archivers/lz4json/PLIST2
-rw-r--r--archivers/lz4json/distinfo6
4 files changed, 35 insertions, 0 deletions
diff --git a/archivers/lz4json/DESCR b/archivers/lz4json/DESCR
new file mode 100644
index 00000000000..203dc6b8884
--- /dev/null
+++ b/archivers/lz4json/DESCR
@@ -0,0 +1,3 @@
+A little utility to unpack lz4json files as generated by Firefox's
+bookmark backups. This is a different format from what the normal
+lz4 utility expects.
diff --git a/archivers/lz4json/Makefile b/archivers/lz4json/Makefile
new file mode 100644
index 00000000000..28ac5ce06e7
--- /dev/null
+++ b/archivers/lz4json/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2016/09/19 08:02:11 wiz Exp $
+
+DISTNAME= lz4json-0.0.20160401
+CATEGORIES= archivers www
+MASTER_SITES= ${MASTER_SITE_GITHUB:=andikleen/}
+GITHUB_TAG= e3e6365ded1b5dcfe1ce69ce2c764dd010526c81
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/andikleen/lz4json
+COMMENT= Unpack lz4json files as generated by Firefox's bookmark backups
+LICENSE= 2-clause-bsd
+
+USE_TOOLS+= pkg-config
+
+INSTALLATION_DIRS= bin
+
+do-build:
+ cd ${WRKSRC} && ${CC} ${CFLAGS} lz4jsoncat.c -o lz4jsoncat `pkg-config --libs liblz4` `pkg-config --cflags liblz4`
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/lz4jsoncat ${DESTDIR}${PREFIX}/bin
+
+.include "../../archivers/lz4/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/archivers/lz4json/PLIST b/archivers/lz4json/PLIST
new file mode 100644
index 00000000000..71802d3bb89
--- /dev/null
+++ b/archivers/lz4json/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2016/09/19 08:02:11 wiz Exp $
+bin/lz4jsoncat
diff --git a/archivers/lz4json/distinfo b/archivers/lz4json/distinfo
new file mode 100644
index 00000000000..2fac4998211
--- /dev/null
+++ b/archivers/lz4json/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/09/19 08:02:11 wiz Exp $
+
+SHA1 (lz4json-0.0.20160401-e3e6365ded1b5dcfe1ce69ce2c764dd010526c81.tar.gz) = b21710913da5ff388e8a409455e7b101389a6788
+RMD160 (lz4json-0.0.20160401-e3e6365ded1b5dcfe1ce69ce2c764dd010526c81.tar.gz) = 637606f5e10a53742c0fb3d9215511be4fbfdd1d
+SHA512 (lz4json-0.0.20160401-e3e6365ded1b5dcfe1ce69ce2c764dd010526c81.tar.gz) = 7650a6ea4c5acc610fd4a2e9037976d2e973aa7c8bc906ddd1f0c01638c66f1f1ffc3d96dac4eba379ae2decfb6d5baa57228ac09f869123de0991b703b833e0
+Size (lz4json-0.0.20160401-e3e6365ded1b5dcfe1ce69ce2c764dd010526c81.tar.gz) = 1594 bytes