summaryrefslogtreecommitdiff
path: root/package/libvirt
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:20:24 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:20:24 +0200
commit90d5c8b73e8d538e121275b12e714332ca785cff (patch)
treeb70121e4732d658097d1db00c8af381629ec82eb /package/libvirt
parent33dd541790614765228a71477e1f8b2b6aa21ce1 (diff)
automatically create development subpackages, without user interaction, depend on gcc for the target, simplifies a lot of library packages
Diffstat (limited to 'package/libvirt')
-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