2565262d4dd8520ee467c261ffff4dd3931b3a8f
[openwrt/openwrt.git] / tools / tar / Makefile
1 #
2 # Copyright (C) 2015 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:=tar
10 PKG_CPE_ID:=cpe:/a:gnu:tar
11 PKG_VERSION:=1.31
12
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
14 PKG_SOURCE_URL:=@GNU/tar
15 PKG_HASH:=37f3ef1ceebd8b7e1ebf5b8cc6c65bb8ebf002c7d049032bf456860f25ec2dc1
16
17 HOST_BUILD_PARALLEL:=1
18
19 include $(INCLUDE_DIR)/host-build.mk
20
21 HOSTCC := $(HOSTCC_NOCACHE)
22 HOSTCXX := $(HOSTCXX_NOCACHE)
23
24 HOST_CONFIGURE_ARGS += \
25 --without-posix-acls \
26 --without-selinux \
27 --without-xattrs \
28 --disable-acl \
29 --disable-nls
30
31 $(eval $(call HostBuild))