summaryrefslogtreecommitdiff
path: root/sysutils/xenstoretools
diff options
context:
space:
mode:
authorsborrill <sborrill>2011-10-03 16:55:34 +0000
committersborrill <sborrill>2011-10-03 16:55:34 +0000
commitac692e7f1951cb8551674df75776fab529760b40 (patch)
tree4199b34b631563c72b370a5988479494a862eba1 /sysutils/xenstoretools
parent01b9eb8185ee4006e3131c13811b2ec13b722fe5 (diff)
downloadpkgsrc-ac692e7f1951cb8551674df75776fab529760b40.tar.gz
This package is a subset of the xentools41 package. It contains
just the tools to manipulate xenstore from the guest VM. It uses the distinfo, patches and version number from the xentools41 package.
Diffstat (limited to 'sysutils/xenstoretools')
-rw-r--r--sysutils/xenstoretools/DESCR2
-rw-r--r--sysutils/xenstoretools/Makefile50
-rw-r--r--sysutils/xenstoretools/PLIST14
3 files changed, 66 insertions, 0 deletions
diff --git a/sysutils/xenstoretools/DESCR b/sysutils/xenstoretools/DESCR
new file mode 100644
index 00000000000..0a40b5bb284
--- /dev/null
+++ b/sysutils/xenstoretools/DESCR
@@ -0,0 +1,2 @@
+This package is a subset of the xentools41 package. It contains
+just the tools to manipulate xenstore from the guest VM.
diff --git a/sysutils/xenstoretools/Makefile b/sysutils/xenstoretools/Makefile
new file mode 100644
index 00000000000..e371aec68d0
--- /dev/null
+++ b/sysutils/xenstoretools/Makefile
@@ -0,0 +1,50 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/10/03 16:55:34 sborrill Exp $
+#
+
+# VERSION is set in xentool41/version.mk
+.include "../../sysutils/xentools41/version.mk"
+
+DISTNAME= xen-${VERSION}
+PKGNAME= xenstoretools-${VERSION}
+CATEGORIES= sysutils
+MASTER_SITES= http://bits.xensource.com/oss-xen/release/${VERSION}/
+
+MAINTAINER= sborrill@NetBSD.org
+HOMEPAGE= http://xen.org/
+COMMENT= Xenstore Tools for Xen 4.1.x
+
+LICENSE= gnu-gpl-v2
+DISTINFO_FILE= ${.CURDIR}/../xentools41/distinfo
+PATCHDIR= ${.CURDIR}/../xentools41/patches
+BUILD_DIRS= xenstore
+BUILD_TARGET= clients
+INSTALL_TARGET= installclients
+INSTALL_DIRS= xenstore
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PKG_SYSCONFSUBDIR= xen
+WRKSRC= ${WRKDIR}/xen-${VERSION}/tools
+
+ONLY_FOR_PLATFORM= Linux-2.6*-i386 Linux-2.6*-x86_64
+ONLY_FOR_PLATFORM+= NetBSD-[5-9].*-x86_64 NetBSD-[5-9].*-i386
+
+CONFLICTS+= libxen-[0-9]*
+CONFLICTS+= xentools20-[0-9]*
+CONFLICTS+= xentools3*
+CONFLICTS+= xentools4*
+
+USE_TOOLS+= gmake
+
+MAKE_ENV+= PREFIX=${prefix:Q} WRKSRC=${WRKSRC}
+MAKE_ENV+= MV=${MV:Q} PYTHON=${PYTHONBIN:Q} SED=${SED:Q}
+MAKE_ENV+= VARBASE=${VARBASE}
+
+.include "../../mk/bsd.prefs.mk"
+
+INSTALLATION_DIRS= bin lib
+
+pre-build:
+ ${LN} -s ../../xen/include/public ${WRKSRC}/xenstore/xen
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/xenstoretools/PLIST b/sysutils/xenstoretools/PLIST
new file mode 100644
index 00000000000..6542cb67876
--- /dev/null
+++ b/sysutils/xenstoretools/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/10/03 16:55:34 sborrill Exp $
+bin/xenstore
+bin/xenstore-chmod
+bin/xenstore-control
+bin/xenstore-exists
+bin/xenstore-list
+bin/xenstore-ls
+bin/xenstore-read
+bin/xenstore-rm
+bin/xenstore-watch
+bin/xenstore-write
+lib/libxenstore.so
+lib/libxenstore.so.3.0
+lib/libxenstore.so.3.0.0