Makefile 961 B

1234567891011121314151617181920212223242526272829303132333435
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=ffho-respondd-config
  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. PKG_BUILD_DEPENDS := respondd
  7. include $(INCLUDE_DIR)/package.mk
  8. define Package/ffho-respondd-config
  9. SECTION:=ffho
  10. CATEGORY:=FFHO
  11. TITLE:=Additional respondd config files
  12. DEPENDS:=+gluon-core +libgluonutil
  13. MAINTAINER:=Freifunk Hochstift <kontakt@hochstift.freifunk.net>
  14. URL:=https://git.c3pb.de/freifunk-pb/ffho-packages
  15. endef
  16. define Package/ffho-respondd-config/description
  17. This package contains additional config files for respondd
  18. endef
  19. define Build/Prepare
  20. mkdir -p $(PKG_BUILD_DIR)
  21. $(CP) ./src/* $(PKG_BUILD_DIR)/
  22. endef
  23. define Package/ffho-respondd-config/install
  24. $(INSTALL_DIR) $(1)/lib/gluon/respondd
  25. $(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/gluon/respondd/ffho.so
  26. endef
  27. $(eval $(call BuildPackage,ffho-respondd-config))