pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Add crossguid.
Module Name: pkgsrc-wip
Committed By: coypu <coypu%sdf.org@localhost>
Pushed By: coypu
Date: Sat May 27 21:09:20 2017 +0300
Changeset: fba59b04426d0a060c733a1d8220ab955f2d73d4
Added Files:
crossguid/DESCR
crossguid/Makefile
crossguid/PLIST
crossguid/buildlink3.mk
crossguid/distinfo
Log Message:
Add crossguid.
CrossGuid is a minimal, cross platform, C++ GUID library.
It uses the best native GUID/UUID generator on the given
platform and had a generic class for parsing, stringifying,
and comparing IDs.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fba59b04426d0a060c733a1d8220ab955f2d73d4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
crossguid/DESCR | 5 +++++
crossguid/Makefile | 31 +++++++++++++++++++++++++++++++
crossguid/PLIST | 3 +++
crossguid/buildlink3.mk | 13 +++++++++++++
crossguid/distinfo | 6 ++++++
5 files changed, 58 insertions(+)
diffs:
diff --git a/crossguid/DESCR b/crossguid/DESCR
new file mode 100644
index 0000000000..f59765596d
--- /dev/null
+++ b/crossguid/DESCR
@@ -0,0 +1,5 @@
+CrossGuid is a minimal, cross platform, C++ GUID library.
+
+It uses the best native GUID/UUID generator on the given
+platform and had a generic class for parsing, stringifying,
+and comparing IDs.
diff --git a/crossguid/Makefile b/crossguid/Makefile
new file mode 100644
index 0000000000..b0f7aa302b
--- /dev/null
+++ b/crossguid/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1 2017/01/30 14:16:42 mef Exp $
+
+# no Release yet
+GIT_COMMIT= fef89a4174a7bf8cd99fa9154864ce9e8e3bf989
+DISTNAME= master
+PKGNAME= crossguid-0.0_pre20160908
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=/graeme-hill/crossguid/archive/}
+EXTRACT_SUFX= .zip
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/graeme-hill/crossguid
+COMMENT= C++ GUID library
+LICENSE= mit
+
+WRKSRC= ${WRKDIR}/crossguid-master
+
+USE_LANGUAGES= c++11
+
+INSTALLATION_DIRS+= lib include
+
+do-build:
+ cd ${WRKSRC} && \
+ ${CXX} guid.cpp -DGUID_LIBUUID -fPIC -shared -o libcrossguid.so
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/guid.h ${DESTDIR}${PREFIX}/include
+ ${INSTALL_LIB} ${WRKSRC}/libcrossguid.so ${DESTDIR}${PREFIX}/lib
+
+.include "../../devel/libuuid/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/crossguid/PLIST b/crossguid/PLIST
new file mode 100644
index 0000000000..2c0c1784a7
--- /dev/null
+++ b/crossguid/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+include/guid.h
+lib/libcrossguid.so
diff --git a/crossguid/buildlink3.mk b/crossguid/buildlink3.mk
new file mode 100644
index 0000000000..dceaac79bc
--- /dev/null
+++ b/crossguid/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD$
+BUILDLINK_TREE+= crossguid
+
+.if !defined(CROSSGUID_BUILDLINK3_MK)
+CROSSGUID_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.crossguid+= crossguid>=0.0_pre20160908
+BUILDLINK_PKGSRCDIR.crossguid?= ../../devel/crossguid
+
+.include "../../devel/libuuid/buildlink3.mk"
+.endif # CROSSGUID_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -crossguid
diff --git a/crossguid/distinfo b/crossguid/distinfo
new file mode 100644
index 0000000000..0c3808ab13
--- /dev/null
+++ b/crossguid/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (master.zip) = 8cc6aa5e3862c06635f2e079153b15a7934da4cf
+RMD160 (master.zip) = 5c2d549109011abed6fec0dc108444e28694574d
+SHA512 (master.zip) = b4a67cbf5aa30326493e7d6489a947922d5038692daccf4e65e41a533af397e4d40c240fb42f89ce68f8600e54f61f94ad8b348c1805b5ca0d812b42d3dc6db1
+Size (master.zip) = 57051 bytes
Home |
Main Index |
Thread Index |
Old Index