the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: zziplib
Version: 0.10.27
Revision: 5
Distribution: 10.4, 10.5
BuildDepends: fink (>= 0.24.12)
Depends: %N-shlibs (= %v-%r)
Maintainer: None
Source: mirror:sourceforge:zziplib/zziplib-%v.tar.gz
PatchFile: %n-%v.patch
PatchFile-MD5: 3c750de3ec730ad95e1c08871477717a
PatchScript: <<
%{default_script}
perl -pi -e 's/LIBTOOL --silent/LIBTOOL/' configure
perl -pi -e 's/hardcode_direct=yes/hardcode_direct=no/g' configure
<<
ConfigureParams: --mandir=%p/share/man --disable-dependency-tracking
InstallScript: make install DESTDIR=%d
SplitOff: <<
Package: %N-shlibs
Replaces: %N (<< 0.10.27-2)
Files: lib/libzzip-*.dylib
Shlibs: %p/lib/libzzip-0.10.dylib 11.0.0 %n (>= 0.10.27-3)
DocFiles: COPYING.LIB COPYING.ZLIB ChangeLog README TODO zzip-file.html zzip-index.html zzip-sdl-rwops.html zzip-zip.html zziplib.html
<<
SplitOff2: <<
Package: %N-dev
Conflicts: zziplib13-dev
Replaces: %N (<< 0.10.27-3), zziplib13-dev
Depends: %N-shlibs (= %v-%r)
BuildDependsOnly: true
Files: bin/zzip-config include lib
DocFiles: COPYING.LIB COPYING.ZLIB ChangeLog README TODO zzip-file.html zzip-index.html zzip-sdl-rwops.html zzip-zip.html zziplib.html
<<
DocFiles: COPYING.LIB COPYING.ZLIB ChangeLog README TODO zzip-file.html zzip-index.html zzip-sdl-rwops.html zzip-zip.html zziplib.html
DescPackaging: <<
Formerly maintained by Tim Seufert
<<
Description: Transparent access to ZIP files
Homepage: http://zziplib.sourceforge.net
License: LGPL
Source-MD5: 707c302fa478ce21ea802b5e40365627
diff -uNr zziplib-0.10.27/configure zziplib-0.10.27-patched/configure
--- zziplib-0.10.27/configure Tue Sep 18 15:08:41 2001
+++ zziplib-0.10.27-patched/configure Mon Sep 16 17:49:25 2002
@@ -5060,11 +5060,11 @@
;;
darwin* | rhapsody*)
- allow_undefined_flag='-undefined suppress'
+ allow_undefined_flag='-flat_namespace -undefined suppress'
# FIXME: Relying on posixy $() will cause problems for
# cross-compilation, but unfortunately the echo tests do not
# yet detect zsh echo's removal of \ escapes.
- archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
+ archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $tmp_verstring'
# We need to add '_' to the symbols in $export_symbols first
#archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
hardcode_direct=yes
diff -uNr zziplib-0.10.27/ltmain.sh zziplib-0.10.27-patched/ltmain.sh
--- zziplib-0.10.27/ltmain.sh Sun Jul 22 14:03:39 2001
+++ zziplib-0.10.27-patched/ltmain.sh Mon Sep 16 17:52:20 2002
@@ -2858,6 +2858,11 @@
if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
eval cmds=\"$archive_expsym_cmds\"
else
+ if test "x$verstring" = "x0.0"; then
+ tmp_verstring=
+ else
+ tmp_verstring="$verstring"
+ fi
eval cmds=\"$archive_cmds\"
fi
IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'