2018-07-04 15:40:07 +02:00
|
|
|
# $NetBSD: Makefile,v 1.11 2018/07/04 13:40:38 jperkin Exp $
|
2011-10-03 18:57:03 +02:00
|
|
|
#
|
|
|
|
|
2015-04-20 10:05:30 +02:00
|
|
|
# Values from XenServer 6.5.0 = 6, 5, 0, 90977
|
2012-03-06 12:09:06 +01:00
|
|
|
# Values from XenServer 6.0.2 = 6, 0, 2, 52898
|
2011-10-03 18:57:03 +02:00
|
|
|
# Values from XenServer 6.0 = 6, 0, 0, 50560
|
|
|
|
# Values from XenServer 5.6 SP2 = 5, 6, 100, 39153
|
|
|
|
XENMAJOR= 6
|
2015-04-20 10:05:30 +02:00
|
|
|
XENMINOR= 5
|
|
|
|
XENTEENY= 0
|
|
|
|
XENBUILD= 90977
|
2011-10-03 18:57:03 +02:00
|
|
|
|
|
|
|
VERSION= ${XENMAJOR}.${XENMINOR}.${XENTEENY}
|
|
|
|
DISTNAME= xe-guest-utilities_5.6.0-595
|
|
|
|
CATEGORIES= sysutils
|
|
|
|
PKGNAME= xe-guest-utilities-${VERSION}
|
|
|
|
MASTER_SITES= http://updates.vmd.citrix.com/XenServer/5.6.0/debian/pool/main/x/xe-guest-utilities/
|
|
|
|
|
|
|
|
MAINTAINER= sborrill@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.xenserver.com/
|
|
|
|
COMMENT= NetBSD VM tools for Citrix XenServer
|
|
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
|
2011-10-07 05:58:04 +02:00
|
|
|
DEPENDS+= xenstoretools-[0-9]*:../../sysutils/xenstoretools
|
2011-10-03 18:57:03 +02:00
|
|
|
|
|
|
|
ONLY_FOR_PLATFORM+= NetBSD-[5-9].*-x86_64 NetBSD-[5-9].*-i386
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:C/-[0-9]+$$//:C/_/-/}
|
|
|
|
|
|
|
|
SRCFILES= xe-daemon xe-update-guest-attrs
|
|
|
|
|
|
|
|
NO_CONFIGURE= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
RCD_SCRIPTS= xenguest
|
|
|
|
SUBST_CLASSES+= paths
|
2018-07-04 15:40:07 +02:00
|
|
|
SUBST_STAGE.paths= pre-configure
|
2011-10-03 18:57:03 +02:00
|
|
|
SUBST_FILES.paths= ${SRCFILES}
|
2013-04-06 23:07:31 +02:00
|
|
|
SUBST_SED.paths= -e "s,@VARBASE@,${VARBASE},g"
|
|
|
|
SUBST_SED.paths+= -e "s,@PREFIX@,${PREFIX},g"
|
2011-10-03 18:57:03 +02:00
|
|
|
|
|
|
|
SUBST_CLASSES+= version
|
2018-07-04 15:40:07 +02:00
|
|
|
SUBST_STAGE.version= pre-configure
|
2011-10-03 18:57:03 +02:00
|
|
|
SUBST_FILES.version= xe-update-guest-attrs
|
2013-04-06 23:07:31 +02:00
|
|
|
SUBST_SED.version= -e "s,@XENMAJOR@,${XENMAJOR},g"
|
|
|
|
SUBST_SED.version+= -e "s,@XENMINOR@,${XENMINOR},g"
|
|
|
|
SUBST_SED.version+= -e "s,@XENTEENY@,${XENTEENY},g"
|
|
|
|
SUBST_SED.version+= -e "s,@XENBUILD@,${XENBUILD},g"
|
2011-10-03 18:57:03 +02:00
|
|
|
|
|
|
|
INSTALLATION_DIRS= sbin
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
for file in ${SRCFILES}; do \
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/$${file} ${DESTDIR}${PREFIX}/sbin/$${file}; \
|
|
|
|
done
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|