10a4a8978005681814b28d65a2bf92c9beb0e509
[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.29
12
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
14 PKG_SOURCE_URL:=@GNU/tar
15 PKG_HASH:=236b11190c0a3a6885bdb8d61424f2b36a5872869aa3f7f695dea4b4843ae2f2
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))