[Lunar-commits] <moonbase> tar: move it to /usr

Zbigniew Luszpinski zbiggy at lunar-linux.org
Sun Apr 29 16:04:01 CEST 2012


commit 30a4eb07111a32646a573c47de659554e33c5e16
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Sun Apr 29 16:04:01 2012 +0200

    tar: move it to /usr
---
 archive/tar/BUILD |   13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/archive/tar/BUILD b/archive/tar/BUILD
index 1bd4874..db15262 100644
--- a/archive/tar/BUILD
+++ b/archive/tar/BUILD
@@ -4,13 +4,10 @@
   cp $SOURCE_CACHE/$SOURCE2 tar.1.gz  &&
   # this sedit restores the tar --list to its older 1.15.1 format
   sedit "s/tartime (st->mtime, false)/tartime (st->mtime, true)/" src/list.c  &&
-  ./configure  --build=$BUILD     \
-               --prefix=/usr      \
-               --libexecdir=/bin  \
-               --bindir=/bin      \
-               --infodir=/usr/share/info \
-               $OPTS &&
-  default_make
-  install -c -m644 tar.1.gz /usr/share/man/man1
+  default_build &&
+  install -c -m644 tar.1.gz /usr/share/man/man1 &&
+
+  # legacy links to /bin
+  ln -sf {/usr,}/bin/tar
 
 ) > $C_FIFO 2>&1


More information about the Lunar-commits mailing list