Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= libvirt
  5. PKG_VERSION:= 0.7.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 8c2c14a7695c9c661004bcfc6468d62d
  8. PKG_DESCR:= virtualization API
  9. PKG_SECTION:= utils
  10. PKG_DEPENDS:= libxml2 libgnutls python
  11. PKG_URL:= http://www.libvirt.org
  12. PKG_SITES:= ftp://libvirt.org/libvirt/
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,LIBVIRT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. TCFLAGS+= -std=c99
  16. CONFIGURE_STYLE:= gnu
  17. CONFIGURE_ARGS+= --without-xen \
  18. --without-uml \
  19. --without-esx \
  20. --without-openvz \
  21. --without-vbox \
  22. --without-sasl
  23. BUILD_STYLE:= auto
  24. INSTALL_STYLE:= auto
  25. post-install:
  26. ${INSTALL_DIR} ${IDIR_LIBVIRT}/usr/lib ${IDIR_LIBVIRT}/usr/bin
  27. ${INSTALL_DIR} ${IDIR_LIBVIRT}/etc/libvirt ${IDIR_LIBVIRT}/usr/sbin
  28. ${INSTALL_BIN} ${WRKINST}/usr/bin/virsh ${IDIR_LIBVIRT}/usr/bin
  29. ${CP} ${WRKINST}/usr/lib/libvirt.so* ${IDIR_LIBVIRT}/usr/lib
  30. ${CP} ${WRKINST}/etc/libvirt/* ${IDIR_LIBVIRT}/etc/libvirt
  31. ${INSTALL_BIN} ${WRKINST}/usr/sbin/libvirtd ${IDIR_LIBVIRT}/usr/sbin
  32. include ${TOPDIR}/mk/pkg-bottom.mk