tools/meson: update to 1.2.1
[openwrt/staging/jow.git] / tools / findutils / Makefile
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
9 PKG_NAME:=findutils
10 PKG_CPE_ID:=cpe:/a:gnu:findutils
11 PKG_VERSION:=4.9.0
12
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
14 PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
15 PKG_HASH:=a2bfb8c09d436770edc59f50fa483e785b161a3b7b9d547573cb08065fd462fe
16
17 PKG_PROGRAMS:=find locate updatedb xargs
18
19 HOST_BUILD_PARALLEL:=1
20
21 include $(INCLUDE_DIR)/host-build.mk
22
23 ifeq ($(HOST_OS),Darwin)
24 HOST_CFLAGS +=-D__nonnull\\(params\\)=
25 endif
26
27 HOST_CONFIGURE_ARGS += \
28 --enable-threads=pth \
29 --disable-rpath \
30 --disable-nls \
31 --without-selinux
32
33 define Host/Uninstall
34 -$(call Host/Compile/Default,uninstall)
35 endef
36
37 $(eval $(call HostBuild))