summaryrefslogtreecommitdiffstats
path: root/tar/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'tar/Pkgfile')
-rw-r--r--tar/Pkgfile21
1 files changed, 21 insertions, 0 deletions
diff --git a/tar/Pkgfile b/tar/Pkgfile
new file mode 100644
index 0000000..708857c
--- /dev/null
+++ b/tar/Pkgfile
@@ -0,0 +1,21 @@
+description="GNU tar"
+packager=""
+maintainer="CRUX System Team, core-ports at crux dot nu"
+url="http://www.gnu.org/software/tar/tar.html"
+depends=()
+
+name=tar
+version=1.25
+release=1
+source=(http://ftp.gnu.org/gnu/tar/tar-1.25.tar.xz tar-rootp.patch tar.1 rmt.8)
+build ()
+{
+ cd $name-$version;
+ patch -p1 -i $SRC/$name-rootp.patch;
+ ./configure --prefix= --libexec=/usr/lib/tar --disable-nls FORCE_UNSAFE_CONFIGURE=1;
+ make;
+ make DESTDIR=$PKG install;
+ rm -rf $PKG/{sbin,share};
+ install -D -m 644 $SRC/tar.1 $PKG/usr/man/man1/tar.1;
+ install -D -m 644 $SRC/rmt.8 $PKG/usr/man/man8/rmt.8
+}