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.
This commit is contained in:
sborrill 2011-10-03 16:55:34 +00:00
parent 2f4a710497
commit 757025e83e
3 changed files with 66 additions and 0 deletions

View file

@ -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.

View file

@ -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"

View file

@ -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