2010-04-13 21:32:46 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Libdlna <Formula
|
|
|
|
url 'http://libdlna.geexbox.org/releases/libdlna-0.2.3.tar.bz2'
|
|
|
|
homepage 'http://libdlna.geexbox.org/'
|
2010-04-13 21:34:11 +00:00
|
|
|
md5 '2c974f95b711e5fd07f78fc4ebfcca66'
|
2010-04-13 21:32:46 +00:00
|
|
|
|
2010-05-28 03:03:25 +00:00
|
|
|
depends_on 'ffmpeg'
|
|
|
|
|
2010-04-13 21:32:46 +00:00
|
|
|
def patches
|
|
|
|
# fixes ffmpeg locations
|
2010-11-10 18:16:28 +00:00
|
|
|
"https://gist.github.com/raw/356431/fbddfeee80d9224f6c67886b119fbd813f3c0ffa/libdlna.patch"
|
2010-04-13 21:32:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|