Makefile 1003 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=ffpb-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/ffpb-debug
  8. SECTION:=ffpb
  9. CATEGORY:=debug
  10. TITLE:=Debug scripts for Freifunk Paderborn
  11. DEPENDS:=+gluon-core +ubus +libubox +busybox
  12. MAINTAINER:=Freifunk Paderborn <maschinenraum@paderborn.freifunk.net>
  13. URL:=https://git.c3pb.de/freifunk-pb/ffpb-packages
  14. SOURCE:=git@git.c3pb.de:freifunk-pb/ffpb-packages.git
  15. endef
  16. define Package/ffpb-debug/description
  17. Debug scripts for FFPB
  18. endef
  19. define Build/Prepare
  20. mkdir -p $(PKG_BUILD_DIR)
  21. endef
  22. define Build/Configure
  23. endef
  24. define Build/Compile
  25. endef
  26. define Package/ffpb-debug/install
  27. $(INSTALL_DIR) $(1)/bin/
  28. $(INSTALL_BIN) ./files/bin/* $(1)/bin/
  29. $(INSTALL_DIR) $(1)/lib/gluon/cron/
  30. $(INSTALL_DATA) ./files/lib/gluon/cron/* $(1)/lib/gluon/cron/
  31. endef
  32. $(eval $(call BuildPackage,ffpb-debug))