Skip to content

Commit

Permalink
New formula: libtar
Browse files Browse the repository at this point in the history
libtar provides a C interface to tar files. It installs include and
library files as well as an executable called libtar, which provides
similar functionality to tar and gnu-tar. I think there should be
no conflicts since the executable has a different name.

Closes Homebrew#18780.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information
scpeters authored and ekarulf committed Apr 15, 2013
1 parent ddcc902 commit 139f121
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Library/Formula/libtar.rb
@@ -0,0 +1,15 @@
require 'formula'

class Libtar < Formula
homepage 'http://www.feep.net/libtar/'
url 'ftp://ftp.feep.net/pub/software/libtar/libtar-1.2.11.tar.gz'
sha1 '9611f23024b0e89aad1cfea301122186b3c160f8'

def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}"
system "make install"
end
end

0 comments on commit 139f121

Please sign in to comment.