Skip to content
Browse files

jpeg 6b

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information...
1 parent 26a1a2e commit 5cdb95195b375779f13bfe1a56b441c64cf3aa42 @jacknagel jacknagel committed Jun 4, 2012
Showing with 27 additions and 0 deletions.
  1. +27 −0 jpeg6b.rb
View
27 jpeg6b.rb
@@ -0,0 +1,27 @@
+require 'formula'
+
+class Jpeg6b < Formula
+ homepage 'http://www.ijg.org'
+ url 'http://www.ijg.org/files/jpegsrc.v6b.tar.gz'
+ sha1 '7079f0d6c42fad0cfba382cf6ad322add1ace8f9'
+ version '6b'
+
+ depends_on 'libtool' => :build
+
+ def install
+ bin.mkpath
+ lib.mkpath
+ include.mkpath
+ man1.mkpath
+
+ system "./configure", "--disable-dependency-tracking",
+ "--prefix=#{prefix}",
+ "--enable-shared"
+
+ system "make", "install",
+ "install-lib",
+ "install-headers",
+ "mandir=#{man1}",
+ "LIBTOOL=glibtool"
+ end
+end

0 comments on commit 5cdb951

Please sign in to comment.
Something went wrong with that request. Please try again.