Makefile 961 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=ffho-geo-location-altitude-delete
  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 $(GLUONDIR)/include/package.mk
  7. define Package/ffho-geo-location-altitude-delete
  8. SECTION:=ffho
  9. CATEGORY:=Workarounds
  10. TITLE:=Deleting the altitude value of the geo location
  11. DEPENDS:=+gluon-core
  12. MAINTAINER:=Freifunk Hochstift <kontakt@hochstift.freifunk.net>
  13. URL:=https://git.c3pb.de/freifunk-pb/ffho-packages
  14. endef
  15. define Package/ffho-geo-location-altitude-delete/description
  16. endef
  17. define Build/Prepare
  18. mkdir -p $(PKG_BUILD_DIR)
  19. endef
  20. define Build/Configure
  21. endef
  22. define Build/Compile
  23. $(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
  24. endef
  25. define Package/ffho-geo-location-altitude-delete/install
  26. $(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
  27. endef
  28. $(eval $(call BuildPackage,ffho-geo-location-altitude-delete))