summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2016-09-19 08:02:11 +0000
committerwiz <wiz@pkgsrc.org>2016-09-19 08:02:11 +0000
commit16e62bf4efa3f8934b56c50a8892b3f00925feef (patch)
treec9a25eefd998305bf82e4289de09db2941b3f741 /archivers
parente980ac690a9627dc166e136f061127a869d8e957 (diff)
downloadpkgsrc-16e62bf4efa3f8934b56c50a8892b3f00925feef.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')
-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