From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: [PATCH] Add libtar. Date: Sat, 27 Jun 2015 11:45:53 +0200 Message-ID: <87381dzdpq.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/x-patch Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34728) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8mga-00088c-17 for guix-devel@gnu.org; Sat, 27 Jun 2015 05:46:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8mgU-0001Wq-Av for guix-devel@gnu.org; Sat, 27 Jun 2015 05:46:07 -0400 Received: from sender163-mail.zoho.com ([74.201.84.163]:25261) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8mgU-0001Vz-3G for guix-devel@gnu.org; Sat, 27 Jun 2015 05:46:02 -0400 Content-Disposition: inline; filename=0001-gnu-Add-libtar.patch List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Guix-devel >From 0039b2d36f77d19c92e07e02c7b3e829c485f355 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 27 Jun 2015 11:45:01 +0200 Subject: [PATCH] gnu: Add libtar. * gnu/packages/compression.scm (libtar): New variable. --- gnu/packages/compression.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 1cf84a3..3935dbe 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -97,6 +97,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") -- 2.4.3