Makefile 908 B

123456789101112131415161718192021222324252627
  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:= e2tools
  5. PKG_VERSION:= 0.1.2
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= b19593bbfc85e9c14c0d2bc8525887901c8fe02588c76df60ab843bf0573c4a2
  8. PKG_DESCR:= read, write, and manipulate files in an ext2 filesystem
  9. PKG_SECTION:= sys/fs
  10. PKG_DEPENDS:= libe2fs libcom-err
  11. PKG_BUILDDEP:= e2fsprogs
  12. PKG_SITES:= https://github.com/e2tools/e2tools/releases/download/v$(PKG_VERSION)/
  13. DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
  14. include $(ADK_TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,E2TOOLS,e2tools,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
  16. e2tools-install:
  17. $(INSTALL_DIR) $(IDIR_E2TOOLS)/usr/bin
  18. $(CP) $(WRKINST)/usr/bin/e2* \
  19. $(IDIR_E2TOOLS)/usr/bin
  20. include $(ADK_TOPDIR)/mk/pkg-bottom.mk