Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= virtinst
  5. PKG_VERSION:= 0.600.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= d8f6a61d7edbc78129a8b5df2807ad46
  8. PKG_DESCR:= virtual machine installer
  9. PKG_SECTION:= sys/misc
  10. PKG_BUILDDEP:= python2 urlgrabber libxml2 libxslt
  11. PKG_DEPENDS:= python2 urlgrabber libxml2-python libxslt libvirt
  12. PKG_URL:= http://virt-manager.org/
  13. PKG_SITES:= http://virt-manager.org/download/sources/virtinst/
  14. include $(ADK_TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,VIRTINST,virtinst,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIG_STYLE:= manual
  17. BUILD_STYLE:= manual
  18. INSTALL_STYLE:= manual
  19. include $(ADK_TOPDIR)/mk/python.mk
  20. do-build:
  21. (cd $(WRKBUILD); env PYTHONPATH=$(PYTHON_LIBDIR) $(PYTHON) ./setup.py build)
  22. (cd $(WRKBUILD); env PYTHONPATH=$(PYTHON_LIBDIR) $(PYTHON) ./setup.py install --prefix="$(WRKINST)/usr")
  23. do-install:
  24. $(INSTALL_DIR) $(IDIR_VIRTINST)/usr/bin
  25. $(INSTALL_DIR) $(IDIR_VIRTINST)/usr/lib/python$(PYTHON_VERSION)/site-packages
  26. $(CP) $(WRKINST)/usr/bin/virt-* $(IDIR_VIRTINST)/usr/bin
  27. $(CP) $(WRKINST)/usr/lib/python$(PYTHON_VERSION)/site-packages/* \
  28. $(IDIR_VIRTINST)/usr/lib/python$(PYTHON_VERSION)/site-packages
  29. include ${ADK_TOPDIR}/mk/pkg-bottom.mk