summaryrefslogtreecommitdiff
path: root/sysutils/libdevkit-gobject/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2009-09-16 19:03:10 +0000
committerwiz <wiz@pkgsrc.org>2009-09-16 19:03:10 +0000
commitd6e90744d519292b5ea1d1a0ef28efecbc6b81a5 (patch)
treed0766d42c8f3f684685de1730a351b613a24fda6 /sysutils/libdevkit-gobject/Makefile
parent472b6eb939a7f49e513d8dd3846d4ad1060d0888 (diff)
downloadpkgsrc-d6e90744d519292b5ea1d1a0ef28efecbc6b81a5.tar.gz
Initial import of libdevkit-gobject-003, part of DeviceKit.
Based on work by jmcneill. DeviceKit is an abstraction for enumerating devices and listening to device events. Any application on the system can access the org.freedesktop.DeviceKit service via the system message bus. On GNU/Linux, DeviceKit can be considered a simple D-Bus frontend to udev(7). This package contains devkit and the devkit-gobject library.
Diffstat (limited to 'sysutils/libdevkit-gobject/Makefile')
-rw-r--r--sysutils/libdevkit-gobject/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/sysutils/libdevkit-gobject/Makefile b/sysutils/libdevkit-gobject/Makefile
new file mode 100644
index 00000000000..7f2a100db61
--- /dev/null
+++ b/sysutils/libdevkit-gobject/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/09/16 19:03:10 wiz Exp $
+#
+
+DISTNAME= DeviceKit-003
+PKGNAME= ${DISTNAME:S/DeviceKit/libdevkit-gobject/}
+CATEGORIES= sysutils
+MASTER_SITES= http://hal.freedesktop.org/releases/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.freedesktop.org/wiki/Software/DeviceKit
+COMMENT= Modular hardware abstraction layer
+LICENSE= gnu-lgpl-v2 AND gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= autoconf automake pkg-config
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != "Linux"
+# needs udev support, which currently only exists on Linux
+# for NetBSD, use the devkitd package
+# XXX: fix PLIST for Linux
+CONFIGURE_ARGS+= --disable-devkitd
+.endif
+
+PKGCONFIG_OVERRIDE+= src/devkit-gobject/devkit-gobject.pc.in
+
+pre-configure:
+ cd ${WRKSRC} && autoreconf
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../sysutils/dbus-glib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"