blob: 6587c759f88dc2a2bd6cae425ef4946eca0556fd [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001#
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#
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:=findutils
10PKG_CPE_ID:=cpe:/a:gnu:findutils
11PKG_VERSION:=4.10.0
12
13PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
14PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
15PKG_HASH:=1387e0b67ff247d2abde998f90dfbf70c1491391a59ddfecb8ae698789f0a4f5
16
17PKG_PROGRAMS:=find locate updatedb xargs
18
19HOST_BUILD_PARALLEL:=1
20
21include $(INCLUDE_DIR)/host-build.mk
22
23ifeq ($(HOST_OS),Darwin)
24 HOST_CFLAGS +=-D__nonnull\\(params\\)=
25endif
26
27HOST_CONFIGURE_ARGS += \
28 --enable-threads=pth \
29 --disable-rpath \
30 --disable-nls \
31 --without-selinux
32
33define Host/Uninstall
34 -$(call Host/Compile/Default,uninstall)
35endef
36
37$(eval $(call HostBuild))