pkgsrc-WIP-changes archive

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

Import go-libudev-0.2.1 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Wed Feb 3 09:45:00 2021 +0100
Changeset:	ee8fba8d7fe7e7365ee6c936725cce14dd6005df

Modified Files:
	Makefile
Added Files:
	go-libudev/DESCR
	go-libudev/Makefile
	go-libudev/PLIST
	go-libudev/buildlink3.mk
	go-libudev/distinfo

Log Message:
Import go-libudev-0.2.1 to wip

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

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

diffstat:
 Makefile                 |  1 +
 go-libudev/DESCR         |  1 +
 go-libudev/Makefile      | 19 +++++++++++++++++++
 go-libudev/PLIST         | 12 ++++++++++++
 go-libudev/buildlink3.mk | 15 +++++++++++++++
 go-libudev/distinfo      |  6 ++++++
 6 files changed, 54 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index e17c8c4cf2..0b5a52106c 100644
--- a/Makefile
+++ b/Makefile
@@ -1261,6 +1261,7 @@ SUBDIR+=	go-junit-report
 SUBDIR+=	go-kong
 SUBDIR+=	go-kr-text
 SUBDIR+=	go-ksuid
+SUBDIR+=	go-libudev
 SUBDIR+=	go-log
 SUBDIR+=	go-logging
 SUBDIR+=	go-lzw
diff --git a/go-libudev/DESCR b/go-libudev/DESCR
new file mode 100644
index 0000000000..c17691ebd6
--- /dev/null
+++ b/go-libudev/DESCR
@@ -0,0 +1 @@
+Golang native implementation udev library
diff --git a/go-libudev/Makefile b/go-libudev/Makefile
new file mode 100644
index 0000000000..7f1c972d1d
--- /dev/null
+++ b/go-libudev/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+DISTNAME=	libudev-0.2.1
+PKGNAME=	go-${DISTNAME}
+GITHUB_PROJECT=	libudev
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+CATEGORIES=	sysutils
+MASTER_SITES=	${MASTER_SITE_GITHUB:=oakmound/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/oakmound/libudev/
+COMMENT=	Golang native implementation udev library
+LICENSE=	mit
+
+GO_SRCPATH=	github.com/oakmound/libudev
+GO_DIST_BASE=	${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-libudev/PLIST b/go-libudev/PLIST
new file mode 100644
index 0000000000..ac55795654
--- /dev/null
+++ b/go-libudev/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/oakmound/libudev.a
+gopkg/pkg/${GO_PLATFORM}/github.com/oakmound/libudev/matcher.a
+gopkg/pkg/${GO_PLATFORM}/github.com/oakmound/libudev/types.a
+gopkg/src/github.com/oakmound/libudev/LICENSE
+gopkg/src/github.com/oakmound/libudev/README.md
+gopkg/src/github.com/oakmound/libudev/matcher/matcher.go
+gopkg/src/github.com/oakmound/libudev/matcher/rule_attr.go
+gopkg/src/github.com/oakmound/libudev/matcher/rule_devpath.go
+gopkg/src/github.com/oakmound/libudev/matcher/rule_env.go
+gopkg/src/github.com/oakmound/libudev/scanner.go
+gopkg/src/github.com/oakmound/libudev/types/device.go
diff --git a/go-libudev/buildlink3.mk b/go-libudev/buildlink3.mk
new file mode 100644
index 0000000000..5d50ff679d
--- /dev/null
+++ b/go-libudev/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-libudev
+
+.if !defined(GO_LIBUDEV_BUILDLINK3_MK)
+GO_LIBUDEV_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-libudev=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-libudev?=	build
+
+BUILDLINK_API_DEPENDS.go-libudev+=	go-libudev>=0.2.1
+BUILDLINK_PKGSRCDIR.go-libudev?=	../../wip/go-libudev
+.endif	# GO_LIBUDEV_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-libudev
diff --git a/go-libudev/distinfo b/go-libudev/distinfo
new file mode 100644
index 0000000000..144335b9f6
--- /dev/null
+++ b/go-libudev/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (libudev-0.2.1.tar.gz) = 32cd755a12668bc3ac32c69242e9fc82230c8ee8
+RMD160 (libudev-0.2.1.tar.gz) = ac85544cdbaa98f3c23f0eed250e443f869a4f77
+SHA512 (libudev-0.2.1.tar.gz) = 2a87174bdba5492448f08087e80dde7396292ba4157825dd3519e8bce98494b356136b5e95ae4c9ee67da9b8c67b05b016dce0e76a449a8a1881569b3772433a
+Size (libudev-0.2.1.tar.gz) = 4278 bytes


Home | Main Index | Thread Index | Old Index