59 lines
1.5 KiB
Makefile
59 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.16 2020/08/20 11:31:04 bouyer Exp $
|
|
#
|
|
|
|
# Values from XenServer 7.0 = 7, 0, 0, 125243
|
|
# Values from XenServer 6.5.0 = 6, 5, 0, 90977
|
|
# Values from XenServer 6.0.2 = 6, 0, 2, 52898
|
|
# Values from XenServer 6.0 = 6, 0, 0, 50560
|
|
# Values from XenServer 5.6 SP2 = 5, 6, 100, 39153
|
|
XENMAJOR= 7
|
|
XENMINOR= 0
|
|
XENTEENY= 0
|
|
XENBUILD= 125243
|
|
|
|
VERSION= ${XENMAJOR}.${XENMINOR}.${XENTEENY}
|
|
DISTNAME= xe-guest-utilities_5.6.0-595
|
|
CATEGORIES= sysutils
|
|
PKGNAME= xe-guest-utilities-${VERSION}
|
|
PKGREVISION= 1
|
|
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
|
|
|
|
DEPENDS+= xenstoretools-[0-9]*:../../sysutils/xenstoretools
|
|
|
|
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
|
|
SUBST_STAGE.paths= pre-install
|
|
SUBST_FILES.paths= ${SRCFILES}
|
|
SUBST_VARS.paths= VARBASE
|
|
SUBST_VARS.paths+= PREFIX
|
|
|
|
SUBST_CLASSES+= version
|
|
SUBST_STAGE.version= pre-install
|
|
SUBST_FILES.version= xe-update-guest-attrs
|
|
SUBST_VARS.version= XENMAJOR
|
|
SUBST_VARS.version+= XENMINOR
|
|
SUBST_VARS.version+= XENTEENY
|
|
SUBST_VARS.version+= XENBUILD
|
|
|
|
INSTALLATION_DIRS= sbin
|
|
|
|
do-install:
|
|
for file in ${SRCFILES}; do \
|
|
${INSTALL_SCRIPT} ${WRKSRC}/$${file} ${DESTDIR}${PREFIX}/sbin/$${file}; \
|
|
done
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|