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.
This commit is contained in:
parent
5b1d54ab0f
commit
fba59b0442
|
@ -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.
|
|
@ -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
|
||||
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"
|
|
@ -0,0 +1,3 @@
|
|||
@comment $NetBSD$
|
||||
include/guid.h
|
||||
lib/libcrossguid.so
|
|
@ -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
|
|
@ -0,0 +1,6 @@
|
|||
$NetBSD$
|
||||
|
||||
SHA1 (master.zip) = 8cc6aa5e3862c06635f2e079153b15a7934da4cf
|
||||
RMD160 (master.zip) = 5c2d549109011abed6fec0dc108444e28694574d
|
||||
SHA512 (master.zip) = b4a67cbf5aa30326493e7d6489a947922d5038692daccf4e65e41a533af397e4d40c240fb42f89ce68f8600e54f61f94ad8b348c1805b5ca0d812b42d3dc6db1
|
||||
Size (master.zip) = 57051 bytes
|
Loading…
Reference in New Issue