aboutsummaryrefslogtreecommitdiff
path: root/scripts/tar/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/tar/build.sh')
-rw-r--r--scripts/tar/build.sh16
1 files changed, 13 insertions, 3 deletions
diff --git a/scripts/tar/build.sh b/scripts/tar/build.sh
index 12cd3e6..f17073d 100644
--- a/scripts/tar/build.sh
+++ b/scripts/tar/build.sh
@@ -3,17 +3,27 @@ name=tar
version=1.32
revision=0
sources=(
- "http://mirror.rit.edu/gnu/${name}/${name}-${version}.tar.xz"
+ "http://mirror.rit.edu/gnu/${name}/${name}-${version}.tar.gz"
+)
+build_depends=(
+ "automake"
+ "autoconf"
+)
+depends=(
+ "bzip2"
+ "gzip"
+ "xz"
+ "zlib"
)
-depends=()
function prepare() {
- tar xf ${name}-${version}.tar.xz
+ tar xf ${name}-${version}.tar.gz
cd ${name}-${version}
}
function build() {
+ export FORCE_UNSAFE_CONFIGURE=1
./configure --prefix=$prefix
make -j${maxjobs}
}