summaryrefslogtreecommitdiff
path: root/package/libvirt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libvirt/Makefile')
-rw-r--r--package/libvirt/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/libvirt/Makefile b/package/libvirt/Makefile
index 61e562664..c424afff7 100644
--- a/package/libvirt/Makefile
+++ b/package/libvirt/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= libvirt
PKG_VERSION:= 1.0.3
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 3d9f85d586c9aa3d819b626622f3fc97
PKG_DESCR:= virtualization API
PKG_SECTION:= libs
@@ -15,13 +15,14 @@ PKG_DEPENDS+= libintl dmidecode kmod-netfilter-xt-target-checksum
PKG_DEPENDS+= dnsmasq qemu libnl
PKG_URL:= http://www.libvirt.org/
PKG_SITES:= http://libvirt.org/sources/
+PKG_OPTS:= dev
PKG_HOST_DEPENDS:= !freebsd !netbsd !openbsd
PKG_ARCH_DEPENDS:= x86 x86_64
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,LIBVIRT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBVIRT,libvirt,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
include ${TOPDIR}/mk/python.mk
@@ -43,7 +44,7 @@ CONFIGURE_ARGS+= --without-xen \
--disable-silent-rules \
--without-sasl
-post-install:
+libvirt-install:
${INSTALL_DIR} ${IDIR_LIBVIRT}/usr/lib ${IDIR_LIBVIRT}/usr/bin
${INSTALL_DIR} ${IDIR_LIBVIRT}/etc/libvirt ${IDIR_LIBVIRT}/usr/sbin
${INSTALL_DIR} ${IDIR_LIBVIRT}/usr/share/libvirt