Skip to content

Commit

Permalink
libxmp 4.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mistydemeo committed Jan 16, 2014
1 parent 324129e commit 9768c51
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions Formula/libxmp.rb
Expand Up @@ -2,14 +2,25 @@

class Libxmp < Formula
homepage 'http://xmp.sourceforge.net'
url 'http://downloads.sourceforge.net/project/xmp/libxmp/4.2.1/libxmp-4.2.1.tar.gz'
sha1 '0c511b366910bfbc92bcccfd20546001fbc05623'
url 'http://downloads.sourceforge.net/project/xmp/libxmp/4.2.2/libxmp-4.2.2.tar.gz'
sha1 '54d2db955b48e5ebdcfb6809d7cab3ce146c7611'

head do
url 'git://git.code.sf.net/p/xmp/libxmp'
depends_on :autoconf
end

# Both of these patches have been applied upstream and should be in
# the next release.
def patches
[
# fixes dylib versioning
'https://github.com/cmatsuoka/libxmp/commit/c6301dc68e1c1f6c247667df56fda754412cfb48.patch',
# fixes replay time of S3M modules
'https://github.com/cmatsuoka/libxmp/commit/3368bb9a4583d75e1844fad5caa964045d007179.patch'
]
end unless build.head?

def install
system "autoconf" if build.head?
system "./configure", "--prefix=#{prefix}"
Expand Down

0 comments on commit 9768c51

Please sign in to comment.