Makefile 570 B

1234567891011121314151617181920212223242526
  1. #
  2. # Copyright (C) 2013-2022 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:=bc
  9. PKG_VERSION:=1.08.1
  10. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  11. PKG_SOURCE_URL:=@GNU/bc
  12. PKG_HASH:=515430115b3334c636317503460a0950dff79940aa3259ce2c1aa67c2881d023
  13. PKG_CPE_ID:=cpe:/a:gnu:bc
  14. PKG_SUBDIRS:=lib bc dc
  15. include $(INCLUDE_DIR)/host-build.mk
  16. define Host/Uninstall
  17. -$(call Host/Compile/Default,uninstall SUBDIRS='lib bc dc')
  18. endef
  19. $(eval $(call HostBuild))