Makefile 1015 B

123456789101112131415161718192021222324252627282930313233
  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:= open-iscsi
  5. PKG_VERSION:= 2.0
  6. PKG_EXTRAVER:= 871
  7. PKG_RELEASE:= 1
  8. PKG_MD5SUM:= 0c403e8c9ad41607571ba0e6e8ff196e
  9. PKG_DESCR:= iSCSI utilities
  10. PKG_SECTION:= fs
  11. PKG_URL:= http://www.open-iscsi.org/
  12. PKG_SITES:= http://www.open-iscsi.org/bits/
  13. DISTFILES:= $(PKG_NAME)-$(PKG_VERSION)-$(PKG_EXTRAVER).tar.gz
  14. WRKDIST= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}-${PKG_EXTRAVER}
  15. include $(TOPDIR)/mk/package.mk
  16. ALL_TARGET:= user
  17. INSTALL_TARGET:= install_user
  18. $(eval $(call PKG_template,OPEN_ISCSI,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. CONFIG_STYLE:= manual
  20. do-install:
  21. $(INSTALL_DIR) $(IDIR_OPEN_ISCSI)/sbin $(IDIR_OPEN_ISCSI)/etc/iscsi
  22. $(INSTALL_BIN) $(WRKINST)/sbin/* $(IDIR_OPEN_ISCSI)/sbin
  23. $(CP) $(WRKINST)/etc/iscsi/* $(IDIR_OPEN_ISCSI)/etc/iscsi
  24. include ${TOPDIR}/mk/pkg-bottom.mk