1
0

Makefile 1.3 KB

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