mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-01 04:59:47 -05:00
New Formula: ushare 1.1a
Signed-off-by: Adam Vandenberg <flangy@gmail.com> * Also install manpage
This commit is contained in:
1 parent
11c121a477
commit
153cfb2d28
2 files changed
+33
-1
No files matched your search
@@ -3,7 +3,7 @@ require 'formula'
|
||||
class Libdlna <Formula
|
||||
url 'http://libdlna.geexbox.org/releases/libdlna-0.2.3.tar.bz2'
|
||||
homepage 'http://libdlna.geexbox.org/'
|
||||
md5 ''
|
||||
md5 '2c974f95b711e5fd07f78fc4ebfcca66'
|
||||
|
||||
def patches
|
||||
# fixes ffmpeg locations
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
require 'formula'
|
||||
|
||||
class Ushare <Formula
|
||||
url 'http://ushare.geexbox.org/releases/ushare-1.1a.tar.bz2'
|
||||
homepage 'http://ushare.geexbox.org/'
|
||||
md5 '5bbcdbf1ff85a9710fa3d4e82ccaa251'
|
||||
|
||||
depends_on 'gettext'
|
||||
depends_on 'libupnp'
|
||||
depends_on 'libdlna'
|
||||
|
||||
def patches
|
||||
{ :p0 =>
|
||||
"http://svn.macports.org/repository/macports/trunk/dports/net/ushare/files/patch-configure.diff"
|
||||
}
|
||||
end
|
||||
|
||||
def install
|
||||
# Need to explicitly add gettext here.
|
||||
ENV.append 'LDFLAGS', "-lintl"
|
||||
|
||||
inreplace 'configure', /config.h/, 'src/config.h'
|
||||
system "./configure", "--disable-debug",
|
||||
"--prefix=#{prefix}",
|
||||
"--enable-dlna",
|
||||
"--with-libupnp-dir=#{HOMEBREW_PREFIX}",
|
||||
"--with-libdlna-dir=#{HOMEBREW_PREFIX}",
|
||||
"--disable-strip"
|
||||
system "make install"
|
||||
man1.install "src/ushare.1"
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user