Created
April 19, 2011 21:23
-
-
Save Houdini/929706 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 require 'formula' | |
2 | |
3 class Libwmf < Formula | |
4 url 'http://downloads.sourceforge.net/project/wvware/libwmf/0.2.8.4/libwmf-0.2.8.4.tar.gz' | |
5 homepage 'http://wvware.sourceforge.net/libwmf.html' | |
6 md5 'd1177739bf1ceb07f57421f0cee191e0' | |
7 | |
8 depends_on 'pkg-config' => :build | |
9 depends_on 'gd' | |
10 | |
11 def install | |
12 ENV.libpng | |
13 system "./configure", "--disable-debug", "--disable-dependency-tracking", | |
14 "--prefix=#{prefix}", | |
15 "--with-freetype=/usr/X11" | |
16 system "make" | |
17 system "make install" | |
18 ENV.j1 # yet another rubbish Makefile | |
19 end | |
20 end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment