Makefile 698 B

1234567891011121314151617181920212223242526272829
  1. #
  2. # Copyright (C) 2006-2012 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=sstrip
  9. PKG_VERSION:=3.2
  10. HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/ELFkickers-$(PKG_VERSION)
  11. PKG_SOURCE_URL:=https://www.muppetlabs.com/~breadbox/pub/software
  12. PKG_SOURCE:=ELFkickers-$(PKG_VERSION).tar.gz
  13. PKG_HASH:=9b81e6c53e0c94fc198d9882eb737156f36d565152dc32118897c77b06a2687c
  14. PKG_RELEASE:=1
  15. include $(INCLUDE_DIR)/host-build.mk
  16. define Host/Install
  17. $(CP) $(HOST_BUILD_DIR)/bin/sstrip $(STAGING_DIR_HOST)/bin/
  18. endef
  19. define Host/Clean
  20. rm -f $(STAGING_DIR_HOST)/bin/sstrip
  21. endef
  22. $(eval $(call HostBuild))