Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
libxmp 4.2.4
  • Loading branch information
mistydemeo committed Feb 23, 2014
1 parent d32196e commit 2ae50d4
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions Formula/libxmp.rb
Expand Up @@ -2,27 +2,14 @@

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

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
unless build.head?
[
# 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
end

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

0 comments on commit 2ae50d4

Please sign in to comment.