Makefile 631 B

123456789101112131415161718192021222324252627282930313233343536
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=gluon-release
  3. PKG_VERSION:=1
  4. PKG_RELEASE:=1
  5. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  6. include $(INCLUDE_DIR)/package.mk
  7. define Package/gluon-release
  8. SECTION:=gluon
  9. CATEGORY:=Gluon
  10. TITLE:=A file containing the current release
  11. DEPENDS:=+gluon-core
  12. endef
  13. define Package/gluon-release/description
  14. This packages creates /lib/gluon/release.
  15. endef
  16. define Build/Prepare
  17. mkdir -p $(PKG_BUILD_DIR)
  18. endef
  19. define Build/Configure
  20. endef
  21. define Build/Compile
  22. endef
  23. define Package/gluon-release/install
  24. $(GLUON_GENERATE) ./generate/* $(1)/
  25. endef
  26. $(eval $(call BuildPackage,gluon-release))