summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2015-06-27 11:45:01 +0200
committerRicardo Wurmus <rekado@elephly.net>2015-06-28 12:38:46 +0200
commit58593975b076593420983ec599c2ffadb9243424 (patch)
treeb7d1dc5f5b034421767000fcab8c0f331fd503c1
parent1d642af9872949633b1084f53352f3c851f41810 (diff)
downloadguix-58593975b076593420983ec599c2ffadb9243424.tar.gz
gnu: Add libtar.
* gnu/packages/compression.scm (libtar): New variable.
-rw-r--r--gnu/packages/compression.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 78f967c3cb..5250a63635 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -94,6 +94,27 @@ in compression.")
 utility.  Instead of being written in Java, FastJar is written in C.")
    (license license:gpl2+)))
 
+(define-public libtar
+  (package
+   (name "libtar")
+   (version "1.2.11")
+   (source (origin
+            (method url-fetch)
+            (uri (string-append
+                  "ftp://ftp.feep.net/pub/software/libtar/libtar-"
+                  version ".tar.gz"))
+            (sha256
+             (base32
+              "1f3vx1wa69a6c5y0z0aakd81gygirdcm0vimazg433q8nyvfybja"))))
+   (build-system gnu-build-system)
+   (arguments `(#:tests? #f)) ;no "check" target
+   (synopsis "C library for manipulating POSIX tar files")
+   (description
+    "libtar is a C library for manipulating POSIX tar files.  It handles
+adding and extracting files to/from a tar archive.")
+   (home-page "http://www.feep.net/libtar/")
+   (license license:bsd-3)))
+
 (define-public gzip
   (package
    (name "gzip")