2013-07-09 12:52:08 +00:00
|
|
|
#
|
2016-03-10 19:11:51 +00:00
|
|
|
# Copyright (C) 2006-2016 OpenWrt.org
|
2013-07-09 12:52:08 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=findutils
|
2017-09-28 02:55:46 +00:00
|
|
|
PKG_CPE_ID:=cpe:/a:gnu:findutils
|
2022-02-21 23:47:13 +00:00
|
|
|
PKG_VERSION:=4.9.0
|
2013-07-09 12:52:08 +00:00
|
|
|
|
2020-04-05 19:48:18 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
2013-07-09 12:52:08 +00:00
|
|
|
PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
|
2022-02-21 23:47:13 +00:00
|
|
|
PKG_HASH:=a2bfb8c09d436770edc59f50fa483e785b161a3b7b9d547573cb08065fd462fe
|
2013-07-09 12:52:08 +00:00
|
|
|
|
|
|
|
HOST_BUILD_PARALLEL:=1
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
|
2021-09-05 22:28:16 +00:00
|
|
|
ifeq ($(HOST_OS),Darwin)
|
|
|
|
HOST_CFLAGS +=-D__nonnull\\(params\\)=
|
|
|
|
endif
|
|
|
|
|
2020-04-05 19:48:18 +00:00
|
|
|
HOST_CONFIGURE_ARGS += \
|
|
|
|
--enable-threads=pth \
|
|
|
|
--disable-rpath \
|
|
|
|
--disable-nls \
|
|
|
|
--without-selinux
|
|
|
|
|
2022-09-28 08:23:56 +00:00
|
|
|
define Host/Uninstall
|
|
|
|
-$(call Host/Compile/Default,uninstall)
|
|
|
|
endef
|
|
|
|
|
2013-07-09 12:52:08 +00:00
|
|
|
$(eval $(call HostBuild))
|