1
0

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.8.6
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 9ed61a02983dc42d0ea0224711ace025
  8. PKG_DESCR:= virtualization API
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= libxml2 libgnutls python2 libpcap
  11. PKG_BUILDDEP:= libxml2 gnutls python2 libpcap
  12. PKG_URL:= http://www.libvirt.org/
  13. PKG_SITES:= ftp://libvirt.org/libvirt/
  14. PKG_HOST_DEPENDS:= !freebsd !netbsd !openbsd
  15. PKG_ARCH_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