Makefile 946 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=ffho-debug
  3. PKG_VERSION:=1
  4. PKG_RELEASE:=$(GLUON_VERSION).$(GLUON_SITE_CODE)-$(GLUON_RELEASE).$(GLUON_CONFIG_VERSION)
  5. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  6. include $(INCLUDE_DIR)/package.mk
  7. define Package/ffho-debug
  8. SECTION:=ffho
  9. CATEGORY:=FFHO
  10. TITLE:=Debug scripts for Freifunk Hochstift
  11. DEPENDS:=+gluon-core +ubus +libubox +busybox
  12. MAINTAINER:=Freifunk Hochstift <kontakt@hochstift.freifunk.net>
  13. URL:=https://git.c3pb.de/freifunk-pb/ffho-packages
  14. endef
  15. define Package/ffho-debug/description
  16. Debug scripts for FFHO
  17. endef
  18. define Build/Prepare
  19. mkdir -p $(PKG_BUILD_DIR)
  20. endef
  21. define Build/Configure
  22. endef
  23. define Build/Compile
  24. endef
  25. define Package/ffho-debug/install
  26. $(INSTALL_DIR) $(1)/bin/
  27. $(INSTALL_BIN) ./files/bin/* $(1)/bin/
  28. $(INSTALL_DIR) $(1)/usr/lib/micron.d/
  29. $(INSTALL_DATA) ./files/usr/lib/micron.d/* $(1)/usr/lib/micron.d/
  30. endef
  31. $(eval $(call BuildPackage,ffho-debug))