summaryrefslogtreecommitdiffstats
path: root/gtar/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'gtar/Pkgfile')
-rw-r--r--gtar/Pkgfile22
1 files changed, 22 insertions, 0 deletions
diff --git a/gtar/Pkgfile b/gtar/Pkgfile
new file mode 100644
index 0000000..4610aaa
--- /dev/null
+++ b/gtar/Pkgfile
@@ -0,0 +1,22 @@
+description="GNU tar."
+packager="CRUX System Team <core-ports AT crux DOT nu>"
+maintainer="Lukc <lukc AT upyum DOT com>"
+url="http://www.gnu.org/software/tar/tar.html"
+depends=()
+
+name=gtar
+version=1.25
+release=1
+source=(http://ftp.gnu.org/gnu/tar/tar-$version.tar.xz tar-rootp.patch gtar.1 rmt.8)
+build ()
+{
+ cd tar-$version;
+ patch -p1 -i $SRC/tar-rootp.patch;
+ ./configure --prefix= --libexec=$libexecdir/gtar $(use_enable nls) FORCE_UNSAFE_CONFIGURE=1;
+ make;
+ make DESTDIR=$PKG install;
+ rm -rf $PKG/sbin;
+ mv $PKG/{share,usr/share};
+ install -D -m 644 $SRC/gtar.1 $PKG$mandir/man1/gtar.1;
+ install -D -m 644 $SRC/rmt.8 $PKG$mandir/man8/rmt.8
+}