Thu Jul 18 12:07:43 2013 UTC ()
Add extra example source file


(sborrill)
diff -r1.7 -r1.8 pkgsrc/devel/libxenserver/Makefile
diff -r1.2 -r1.3 pkgsrc/devel/libxenserver/PLIST

cvs diff -r1.7 -r1.8 pkgsrc/devel/libxenserver/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/libxenserver/Makefile 2013/07/18 11:59:28 1.7
+++ pkgsrc/devel/libxenserver/Makefile 2013/07/18 12:07:43 1.8
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.7 2013/07/18 11:59:28 sborrill Exp $ 1# $NetBSD: Makefile,v 1.8 2013/07/18 12:07:43 sborrill Exp $
2# 2#
3 3
4VERSION= 6.2.0 4VERSION= 6.2.0
5DISTNAME= XenServer-${VERSION}-SDK 5DISTNAME= XenServer-${VERSION}-SDK
6PKGNAME= libxenserver-${VERSION} 6PKGNAME= libxenserver-${VERSION}
7CATEGORIES= devel 7CATEGORIES= devel
8MASTER_SITES= http://downloadns.citrix.com.edgesuite.net/7289/ 8MASTER_SITES= http://downloadns.citrix.com.edgesuite.net/7289/
9 9
10MAINTAINER= sborrill@NetBSD.org 10MAINTAINER= sborrill@NetBSD.org
11HOMEPAGE= http://community.citrix.com/cdn/xs/sdks/ 11HOMEPAGE= http://community.citrix.com/cdn/xs/sdks/
12COMMENT= Citrix XenServer SDK for C 12COMMENT= Citrix XenServer SDK for C
13LICENSE= gnu-gpl-v2 13LICENSE= gnu-gpl-v2
14 14
@@ -18,23 +18,20 @@ MAJOR= 2 @@ -18,23 +18,20 @@ MAJOR= 2
18MINOR= 0 18MINOR= 0
19BUILD_TARGET= libxenserver.so 19BUILD_TARGET= libxenserver.so
20USE_TOOLS+= gmake pax 20USE_TOOLS+= gmake pax
21 21
22PLIST_SUBST+= MAJOR=${MAJOR:Q} MINOR=${MINOR:Q} 22PLIST_SUBST+= MAJOR=${MAJOR:Q} MINOR=${MINOR:Q}
23 23
24INSTALLATION_DIRS= include/xen/api 24INSTALLATION_DIRS= include/xen/api
25INSTALLATION_DIRS+= share/examples/libxenserver lib 25INSTALLATION_DIRS+= share/examples/libxenserver lib
26 26
27do-install: 27do-install:
28 ${INSTALL_LIB} ${WRKSRC}/libxenserver.so.${MAJOR}.${MINOR} ${DESTDIR}${PREFIX}/lib 28 ${INSTALL_LIB} ${WRKSRC}/libxenserver.so.${MAJOR}.${MINOR} ${DESTDIR}${PREFIX}/lib
29 ${INSTALL_LIB} ${WRKSRC}/libxenserver.so ${DESTDIR}${PREFIX}/lib 29 ${INSTALL_LIB} ${WRKSRC}/libxenserver.so ${DESTDIR}${PREFIX}/lib
30 cd ${WRKSRC}/include/xen/api && pax -rw *.h ${DESTDIR}${PREFIX}/include/xen/api 30 cd ${WRKSRC}/include/xen/api && pax -rw *.h ${DESTDIR}${PREFIX}/include/xen/api
31.for example in test_event_handling.c test_failures.c test_vm_ops.c 31 cd ${WRKSRC}/test && pax -rw *.c ${DESTDIR}${PREFIX}/share/examples/libxenserver
32 ${INSTALL_DATA} ${WRKSRC}/test/${example} \ 
33 ${DESTDIR}${PREFIX}/share/examples/libxenserver 
34.endfor 
35 32
36.include "../../mk/bsd.prefs.mk" 33.include "../../mk/bsd.prefs.mk"
37 34
38.include "../../textproc/libxml2/buildlink3.mk" 35.include "../../textproc/libxml2/buildlink3.mk"
39.include "../../www/curl/buildlink3.mk" 36.include "../../www/curl/buildlink3.mk"
40.include "../../mk/bsd.pkg.mk" 37.include "../../mk/bsd.pkg.mk"

cvs diff -r1.2 -r1.3 pkgsrc/devel/libxenserver/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/libxenserver/PLIST 2013/07/18 11:59:28 1.2
+++ pkgsrc/devel/libxenserver/PLIST 2013/07/18 12:07:43 1.3
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.2 2013/07/18 11:59:28 sborrill Exp $ 1@comment $NetBSD: PLIST,v 1.3 2013/07/18 12:07:43 sborrill Exp $
2include/xen/api/xen_after_apply_guidance.h 2include/xen/api/xen_after_apply_guidance.h
3include/xen/api/xen_all.h 3include/xen/api/xen_all.h
4include/xen/api/xen_api_failure.h 4include/xen/api/xen_api_failure.h
5include/xen/api/xen_auth.h 5include/xen/api/xen_auth.h
6include/xen/api/xen_auth_decl.h 6include/xen/api/xen_auth_decl.h
7include/xen/api/xen_blob.h 7include/xen/api/xen_blob.h
8include/xen/api/xen_blob_decl.h 8include/xen/api/xen_blob_decl.h
9include/xen/api/xen_blob_xen_blob_record_map.h 9include/xen/api/xen_blob_xen_blob_record_map.h
10include/xen/api/xen_bond.h 10include/xen/api/xen_bond.h
11include/xen/api/xen_bond_decl.h 11include/xen/api/xen_bond_decl.h
12include/xen/api/xen_bond_mode.h 12include/xen/api/xen_bond_mode.h
13include/xen/api/xen_bond_xen_bond_record_map.h 13include/xen/api/xen_bond_xen_bond_record_map.h
14include/xen/api/xen_cls.h 14include/xen/api/xen_cls.h
@@ -175,16 +175,17 @@ include/xen/api/xen_vm_string_set_map.h @@ -175,16 +175,17 @@ include/xen/api/xen_vm_string_set_map.h
175include/xen/api/xen_vm_string_string_map_map.h 175include/xen/api/xen_vm_string_string_map_map.h
176include/xen/api/xen_vm_xen_vm_record_map.h 176include/xen/api/xen_vm_xen_vm_record_map.h
177include/xen/api/xen_vmpp.h 177include/xen/api/xen_vmpp.h
178include/xen/api/xen_vmpp_archive_frequency.h 178include/xen/api/xen_vmpp_archive_frequency.h
179include/xen/api/xen_vmpp_archive_target_type.h 179include/xen/api/xen_vmpp_archive_target_type.h
180include/xen/api/xen_vmpp_backup_frequency.h 180include/xen/api/xen_vmpp_backup_frequency.h
181include/xen/api/xen_vmpp_backup_type.h 181include/xen/api/xen_vmpp_backup_type.h
182include/xen/api/xen_vmpp_decl.h 182include/xen/api/xen_vmpp_decl.h
183include/xen/api/xen_vmpp_xen_vmpp_record_map.h 183include/xen/api/xen_vmpp_xen_vmpp_record_map.h
184include/xen/api/xen_vtpm.h 184include/xen/api/xen_vtpm.h
185include/xen/api/xen_vtpm_decl.h 185include/xen/api/xen_vtpm_decl.h
186lib/libxenserver.so 186lib/libxenserver.so
187lib/libxenserver.so.${MAJOR}.${MINOR} 187lib/libxenserver.so.${MAJOR}.${MINOR}
 188share/examples/libxenserver/test_vm_async_migrate.c
188share/examples/libxenserver/test_event_handling.c 189share/examples/libxenserver/test_event_handling.c
189share/examples/libxenserver/test_failures.c 190share/examples/libxenserver/test_failures.c
190share/examples/libxenserver/test_vm_ops.c 191share/examples/libxenserver/test_vm_ops.c