Skip to content

Commit

Permalink
libspiro: update homepage and add --HEAD
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information
davelab6 authored and adamv committed Sep 16, 2013
1 parent 44187c5 commit e22c31c
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions Formula/libspiro.rb
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
require 'formula'

class Libspiro < Formula
homepage 'http://libspiro.sourceforge.net'
homepage 'https://github.com/fontforge/libspiro'
url 'http://downloads.sourceforge.net/project/libspiro/libspiro/20071029/libspiro_src-20071029.tar.bz2'
sha1 'd8b407b835b35289af2914877a4c6000b4fdd382'

head 'https://libspiro.svn.sourceforge.net/svnroot/libspiro/'
head 'https://github.com/fontforge/libspiro.git'

if build.head?
depends_on :automake
depends_on :autoconf
depends_on :libtool
end

def install
if build.head?
system "autoreconf", "-i"
system "automake"
end

system "./configure", "--prefix=#{prefix}"
system "make install"
end
Expand Down

0 comments on commit e22c31c

Please sign in to comment.