Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  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:=workarounds
  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. SOURCE:=git@git.c3pb.de:freifunk-pb/ffho-packages.git
  16. endef
  17. define Package/ffho-respondd-config/description
  18. This package contains additional config files for respondd
  19. endef
  20. define Build/Prepare
  21. mkdir -p $(PKG_BUILD_DIR)
  22. $(CP) ./src/* $(PKG_BUILD_DIR)/
  23. endef
  24. define Package/ffho-respondd-config/install
  25. $(INSTALL_DIR) $(1)/lib/gluon/respondd
  26. $(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/gluon/respondd/ffho.so
  27. endef
  28. $(eval $(call BuildPackage,ffho-respondd-config))