Skip to content

Instantly share code, notes, and snippets.

@Houdini
Created April 19, 2011 21:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Houdini/929706 to your computer and use it in GitHub Desktop.
Save Houdini/929706 to your computer and use it in GitHub Desktop.
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