pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lz4jsoncat: add new package



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Thu Nov 26 12:18:00 2015 +0100
Changeset:	2ce475a2de96f8cf58fcfc1c560fd77838e5f1f7

Added Files:
	lz4jsoncat-git/DESCR
	lz4jsoncat-git/Makefile
	lz4jsoncat-git/PLIST

Log Message:
lz4jsoncat: add new package

C decompress tool for mozilla lz4json format

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2ce475a2de96f8cf58fcfc1c560fd77838e5f1f7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 lz4jsoncat-git/DESCR    |  3 +++
 lz4jsoncat-git/Makefile | 27 +++++++++++++++++++++++++++
 lz4jsoncat-git/PLIST    |  2 ++
 3 files changed, 32 insertions(+)

diffs:
diff --git a/lz4jsoncat-git/DESCR b/lz4jsoncat-git/DESCR
new file mode 100644
index 0000000..203dc6b
--- /dev/null
+++ b/lz4jsoncat-git/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/lz4jsoncat-git/Makefile b/lz4jsoncat-git/Makefile
new file mode 100644
index 0000000..a133776
--- /dev/null
+++ b/lz4jsoncat-git/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD$
+
+DISTNAME=	lz4jsoncat-1.0
+CATEGORIES=	archivers www
+MASTER_SITES=	#
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/andikleen/lz4json
+COMMENT=	Unpack lz4json files as generated by Firefox's bookmark backups
+
+GIT_REPOSITORIES=	lz4json
+GIT_REPO.lz4json=	git://github.com/andikleen/lz4json.git
+
+WRKSRC=			${WRKDIR}/lz4json
+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 "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/lz4jsoncat-git/PLIST b/lz4jsoncat-git/PLIST
new file mode 100644
index 0000000..fc3ef09
--- /dev/null
+++ b/lz4jsoncat-git/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/lz4jsoncat


Home | Main Index | Thread Index | Old Index