libxmp 4.2.4
This commit is contained in:
parent
d32196e794
commit
2ae50d4452
1 changed files with 2 additions and 15 deletions
|
@ -2,27 +2,14 @@ require 'formula'
|
|||
|
||||
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}"
|
||||
|
|
Loading…
Reference in a new issue