Makefile 936 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=ffho-site-generate
  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-site-generate
  8. SECTION:=ffho
  9. CATEGORY:=Gluon
  10. TITLE:=
  11. DEPENDS:=+gluon-core +busybox
  12. MAINTAINER:=Freifunk Hochstift <maschinenraum@paderborn.freifunk.net>
  13. URL:=https://git.c3pb.de/freifunk-pb/ffho-packages
  14. SOURCE:=git@git.c3pb.de:freifunk-pb/ffho-packages.git
  15. endef
  16. define Package/ffho-site-generate/description
  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-site-generate/preinst
  26. endef
  27. define Package/ffho-site-generate/install
  28. $(CP) ./files/* $(1)/
  29. $(CP) $(GLUON_SITEDIR)/extra/* $(1)/lib/gluon/site-select/
  30. endef
  31. $(eval $(call BuildPackage,ffho-site-generate))