summaryrefslogtreecommitdiffstats
path: root/gtar/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-12 04:29:19 +0100
committerLukc <lukc@upyum.com>2010-12-12 04:29:19 +0100
commitc42d52ef73123d38394acaa646ff82d0e5aff6a9 (patch)
tree4d1bbed7d4f6bb335545f2a0fcdc34170dc28944 /gtar/Pkgfile
parenta02af57a5fbdf46aa5ae447fe8c4f0b3fb48b4f6 (diff)
downloadopt-c42d52ef73123d38394acaa646ff82d0e5aff6a9.tar.gz
opt-c42d52ef73123d38394acaa646ff82d0e5aff6a9.tar.bz2
opt-c42d52ef73123d38394acaa646ff82d0e5aff6a9.tar.xz
opt-c42d52ef73123d38394acaa646ff82d0e5aff6a9.zip
Recette de GNU tar ajout?e. o/
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
+}