the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: mimms
Version: 3.2.1
Revision: 1
BuildDepends: <<
fink (>= 0.24.12)
<<
Depends: <<
libmms0-shlibs,
python26
<<
Source: http://download.savannah.gnu.org/releases-noredirect/%n/%n-%v.tar.bz2
Source-MD5: ec629d8899551b4789ba15c17402c36f
PatchFile: %n.patch
PatchFile-MD5: b0480457441555e7919297d2cda997ec
PatchScript: sed -e 's,@PREFIX@,%p,' < %{PatchFile} | patch -p1
CompileScript: make PYTHON=%p/bin/python2.6
InstallScript: make install DESTDIR=%d PYTHON=%p/bin/python2.6
DocFiles: AUTHORS COPYING NEWS README
DescPort: <<
Fix hardcoded linuxish filename of runtime-loaded shared lib
and use explicit path (no ldconfig). Not sure why pkg doesn't
roll a compiled python .so that links against that lib using
the published .pc.
<<
Description: Stream decoder for mms://
Homepage: http://savannah.nongnu.org/projects/mimms
Maintainer: Daniel Macks
License: GPL
diff -Nurd -x'*~' mimms-3.2.1.orig/libmimms/libmms.py mimms-3.2.1/libmimms/libmms.py
--- mimms-3.2.1.orig/libmimms/libmms.py 2008-05-11 20:53:08.000000000 -0400
+++ mimms-3.2.1/libmimms/libmms.py 2010-01-19 15:36:08.000000000 -0500
@@ -23,7 +23,7 @@
from ctypes import *
-libmms = cdll.LoadLibrary("libmms.so.0")
+libmms = cdll.LoadLibrary("@PREFIX@/lib/libmms.0.dylib")
# opening and closing the stream
libmms.mmsx_connect.argtypes = [c_void_p, c_void_p, c_char_p, c_int]