summaryrefslogtreecommitdiff
path: root/package/libvirt/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-15 17:58:20 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-15 17:58:20 +0200
commitcf64ca8e62ed3a8efc23cf2d49cd54954fe8d81c (patch)
treee88dd2e29cddd675b13569e83fafeb319ed54ffa /package/libvirt/Makefile
parentd74e014d023453860d140a7455022424c80d4f0c (diff)
add package virtinst and dependencies
Diffstat (limited to 'package/libvirt/Makefile')
-rw-r--r--package/libvirt/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/package/libvirt/Makefile b/package/libvirt/Makefile
index 8e4329bb8..6d3b65d19 100644
--- a/package/libvirt/Makefile
+++ b/package/libvirt/Makefile
@@ -10,7 +10,8 @@ PKG_MD5SUM:= b74df374b524d00a22a6c89cfc23099f
PKG_DESCR:= virtualization API
PKG_SECTION:= libs
PKG_BUILDDEP:= libxml2 gnutls python2 libpcap parted udev
-PKG_DEPENDS:= libxml2 libgnutls python2 libpcap
+PKG_DEPENDS:= libxml2 libgnutls python2 libpcap libreadline
+PKG_DEPENDS+= libintl
PKG_URL:= http://www.libvirt.org/
PKG_SITES:= ftp://libvirt.org/libvirt/
@@ -21,6 +22,8 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBVIRT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+include ${TOPDIR}/mk/python.mk
+
CONFIGURE_ENV+= gl_cv_warn__fstack_protector_all=no
CONFIGURE_ARGS+= --without-xen \
--without-uml \
@@ -36,8 +39,11 @@ post-install:
${INSTALL_DIR} ${IDIR_LIBVIRT}/usr/lib ${IDIR_LIBVIRT}/usr/bin
${INSTALL_DIR} ${IDIR_LIBVIRT}/etc/libvirt ${IDIR_LIBVIRT}/usr/sbin
${INSTALL_BIN} ${WRKINST}/usr/bin/virsh ${IDIR_LIBVIRT}/usr/bin
- ${CP} ${WRKINST}/usr/lib/libvirt.so* ${IDIR_LIBVIRT}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libvirt*.so* ${IDIR_LIBVIRT}/usr/lib
${CP} ${WRKINST}/etc/libvirt/* ${IDIR_LIBVIRT}/etc/libvirt
${INSTALL_BIN} ${WRKINST}/usr/sbin/libvirtd ${IDIR_LIBVIRT}/usr/sbin
+ ${INSTALL_DIR} ${IDIR_LIBVIRT}/usr/lib/python$(PYTHON_VERSION)/site-packages
+ $(CP) $(WRKINST)/usr/lib/python$(PYTHON_VERSION)/site-packages/* \
+ ${IDIR_LIBVIRT}/usr/lib/python$(PYTHON_VERSION)/site-packages
include ${TOPDIR}/mk/pkg-bottom.mk