Commit 7f2a7295 authored by Rafaël Carré's avatar Rafaël Carré

extra/tools: add GNU tar (with J = xz support)

parent fdeff100
......@@ -16,5 +16,8 @@ PKGCFG_VERSION=0.23
#PKGCFG_URL=http://downloads.videolan.org/pub/videolan/testing/contrib/pkg-config-$(PKGCFG_VERSION).tar.gz
PKGCFG_URL=http://pkgconfig.freedesktop.org/releases/pkg-config-$(PKGCFG_VERSION).tar.gz
TAR_VERSION=1.26
TAR_URL=$(GNU)/tar/tar-$(TAR_VERSION).tar.bz2
XZ_VERSION=5.0.3
XZ_URL=http://tukaani.org/xz/xz-$(XZ_VERSION).tar.bz2
......@@ -69,6 +69,23 @@ CLEAN_PKG += libtool
DISTCLEAN_PKG += libtool-$(LIBTOOL_VERSION).tar.gz
CLEAN_FILE += .libtool
# GNU tar (with xz support)
tar-$(TAR_VERSION).tar.bz2:
$(download) $(TAR_URL)
tar: tar-$(TAR_VERSION).tar.bz2
$(UNPACK)
$(MOVE)
.tar: tar .tar
(cd $<; ./configure --prefix=$(PREFIX) && make && make install)
touch $@
CLEAN_PKG += tar
DISTCLEAN_PKG += tar-$(tar_VERSION).tar.bz2
CLEAN_FILE += .tar
# xz
xz-$(XZ_VERSION).tar.bz2:
......@@ -78,7 +95,7 @@ xz: xz-$(XZ_VERSION).tar.bz2
$(UNPACK)
$(MOVE)
.xz: xz
.xz: xz .tar
(cd $<; ./configure --prefix=$(PREFIX) && make && make install)
touch $@
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment