aboutsummaryrefslogtreecommitdiffstats
path: root/tools/tar/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/tar/Makefile')
-rw-r--r--tools/tar/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/tools/tar/Makefile b/tools/tar/Makefile
new file mode 100644
index 00000000000..baa431e2db6
--- /dev/null
+++ b/tools/tar/Makefile
@@ -0,0 +1,31 @@
+#
+# Copyright (C) 2015 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=tar
+PKG_CPE_ID:=cpe:/a:gnu:tar
+PKG_VERSION:=1.30
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
+PKG_SOURCE_URL:=@GNU/tar
+PKG_HASH:=87592b86cb037c554375f5868bdd3cc57748aef38d6cb741c81065f0beac63b7
+
+HOST_BUILD_PARALLEL := 1
+
+include $(INCLUDE_DIR)/host-build.mk
+
+HOSTCC := $(HOSTCC_NOCACHE)
+HOSTCXX := $(HOSTCXX_NOCACHE)
+
+HOST_CONFIGURE_ARGS += \
+ --without-posix-acls \
+ --without-selinux \
+ --without-xattrs \
+ --disable-acl \
+ --disable-nls
+
+$(eval $(call HostBuild))