Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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:= libs
  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 !netbsd !openbsd
  15. PKG_TARGET_DEPENDS:= x86 x86_64
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,LIBVIRT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. TCFLAGS+= -std=c99
  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. post-install:
  28. ${INSTALL_DIR} ${IDIR_LIBVIRT}/usr/lib ${IDIR_LIBVIRT}/usr/bin
  29. ${INSTALL_DIR} ${IDIR_LIBVIRT}/etc/libvirt ${IDIR_LIBVIRT}/usr/sbin
  30. ${INSTALL_BIN} ${WRKINST}/usr/bin/virsh ${IDIR_LIBVIRT}/usr/bin
  31. ${CP} ${WRKINST}/usr/lib/libvirt.so* ${IDIR_LIBVIRT}/usr/lib
  32. ${CP} ${WRKINST}/etc/libvirt/* ${IDIR_LIBVIRT}/etc/libvirt
  33. ${INSTALL_BIN} ${WRKINST}/usr/sbin/libvirtd ${IDIR_LIBVIRT}/usr/sbin
  34. include ${TOPDIR}/mk/pkg-bottom.mk