Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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.4
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 1645975662a326969d2f42d5c04574aa
  8. PKG_DESCR:= virtualization API
  9. PKG_SECTION:= utils
  10. PKG_DEPENDS:= libxml2 libgnutls python
  11. PKG_BUILDDEP+= libxml2 gnutls python
  12. PKG_URL:= http://www.libvirt.org/
  13. PKG_SITES:= ftp://libvirt.org/libvirt/
  14. PKG_HOST_DEPENDS:= !freebsd
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,LIBVIRT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. TCFLAGS+= -std=c99
  18. CONFIGURE_STYLE:= gnu
  19. CONFIGURE_ARGS+= --without-xen \
  20. --without-uml \
  21. --without-esx \
  22. --without-openvz \
  23. --without-lxc \
  24. --without-vbox \
  25. --disable-silent-rules \
  26. --without-sasl
  27. BUILD_STYLE:= auto
  28. INSTALL_STYLE:= auto
  29. post-install:
  30. ${INSTALL_DIR} ${IDIR_LIBVIRT}/usr/lib ${IDIR_LIBVIRT}/usr/bin
  31. ${INSTALL_DIR} ${IDIR_LIBVIRT}/etc/libvirt ${IDIR_LIBVIRT}/usr/sbin
  32. ${INSTALL_BIN} ${WRKINST}/usr/bin/virsh ${IDIR_LIBVIRT}/usr/bin
  33. ${CP} ${WRKINST}/usr/lib/libvirt.so* ${IDIR_LIBVIRT}/usr/lib
  34. ${CP} ${WRKINST}/etc/libvirt/* ${IDIR_LIBVIRT}/etc/libvirt
  35. ${INSTALL_BIN} ${WRKINST}/usr/sbin/libvirtd ${IDIR_LIBVIRT}/usr/sbin
  36. include ${TOPDIR}/mk/pkg-bottom.mk