[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / libxenserver

File: [cvs.NetBSD.org] / pkgsrc / devel / libxenserver / Makefile (download)

Revision 1.3, Thu Jun 14 07:43:20 2012 UTC (10 years, 7 months ago) by sbd
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2
Changes since 1.2: +2 -2 lines

Recursive PKGREVISION bump for libxml2 buildlink addition.

# $NetBSD: Makefile,v 1.3 2012/06/14 07:43:20 sbd Exp $
#

DISTNAME=	libxenserver-5.6.100-1-src
PKGNAME=	${DISTNAME:S/-1-src//}
PKGREVISION=	2
CATEGORIES=	devel
MASTER_SITES=	http://community.citrix.com/download/attachments/38633496/

MAINTAINER=	sborrill@NetBSD.org
HOMEPAGE=	http://community.citrix.com/cdn/xs/sdks/
COMMENT=	Citrix XenServer SDK for C
LICENSE=	gnu-gpl-v2

EXTRACT_SUFX=	.tar.bz2
WRKSRC=		${WRKDIR}/libxenserver
MAJOR=		1
MINOR=		3
BUILD_TARGET=	libxenserver.so
USE_TOOLS+=	gmake pax

PLIST_SUBST+=	MAJOR=${MAJOR:Q} MINOR=${MINOR:Q}

PKG_DESTDIR_SUPPORT=	user-destdir
INSTALLATION_DIRS=	include/xen/api
INSTALLATION_DIRS+=	share/examples/libxenserver lib

do-install:
	${INSTALL_LIB} ${WRKSRC}/libxenserver.so.${MAJOR}.${MINOR} ${DESTDIR}${PREFIX}/lib
	${INSTALL_LIB} ${WRKSRC}/libxenserver.so ${DESTDIR}${PREFIX}/lib
	cd ${WRKSRC}/include/xen/api && pax -rw *.h ${DESTDIR}${PREFIX}/include/xen/api
.for example in test_event_handling.c test_failures.c test_vm_ops.c
	${INSTALL_DATA} ${WRKSRC}/test/${example} \
	    ${DESTDIR}${PREFIX}/share/examples/libxenserver
.endfor

.include "../../mk/bsd.prefs.mk"

.include "../../textproc/libxml2/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"