Makefile 790 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #
  2. # Copyright (C) 2006-2016 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:=findutils
  9. PKG_CPE_ID:=cpe:/a:gnu:findutils
  10. PKG_VERSION:=4.9.0
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  12. PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
  13. PKG_HASH:=a2bfb8c09d436770edc59f50fa483e785b161a3b7b9d547573cb08065fd462fe
  14. PKG_PROGRAMS:=find locate updatedb xargs
  15. HOST_BUILD_PARALLEL:=1
  16. include $(INCLUDE_DIR)/host-build.mk
  17. ifeq ($(HOST_OS),Darwin)
  18. HOST_CFLAGS +=-D__nonnull\\(params\\)=
  19. endif
  20. HOST_CONFIGURE_ARGS += \
  21. --enable-threads=pth \
  22. --disable-rpath \
  23. --disable-nls \
  24. --without-selinux
  25. define Host/Uninstall
  26. -$(call Host/Compile/Default,uninstall)
  27. endef
  28. $(eval $(call HostBuild))