Info4: << Package: libzip2%type_pkg[-64bit] Version: 0.11.1 Revision: 1 Type: -64bit (boolean) Architecture: ( %type_raw[-64bit] = -64bit ) powerpc, ( %type_raw[-64bit] = -64bit ) i386 Distribution: ( %type_raw[-64bit] = -64bit ) 10.5, ( %type_raw[-64bit] = -64bit ) 10.6 Description: Library for handling zip archives Maintainer: Daniel Johnson Homepage: http://www.nih.at/libzip/ License: BSD DescPackaging: << libzip is a C library for reading, creating, and modifying zip archives. Files can be added from data buffers, files, or compressed data copied directly from other zip archives. Changes made without closing the archive can be reverted. The API is documented by man pages. << Source: http://www.nih.at/libzip/libzip-%v.tar.gz Source-MD5: bf50518665f4ebcce623c7dcdc2f422d Depends: %N-shlibs (= %v-%r), ( %type_raw[-64bit] = -64bit ) 64bit-cpu BuildDepends: fink (>= 0.26.2) BuildDependsOnly: True Conflicts: libzip1, libzip1-64bit, libzip2, libzip2-64bit Replaces: libzip1, libzip1-64bit, libzip2, libzip2-64bit NoSetCPPFLAGS: True NoSetLDFLAGS: True SetCFLAGS: -Os UseMaxBuildJobs: True ConfigureParams: --disable-dependency-tracking --libdir='${prefix}/%lib' --disable-static CompileScript: << #!/bin/bash -ev if [ "%type_raw[-64bit]" == "-64bit" ]; then export CC="gcc -m64" fi %{default_script} << InstallScript: << make install DESTDIR=%d << DocFiles: AUTHORS LICENSE NEWS README THANKS TODO SplitOff: << Package: %N-shlibs Depends: ( %type_raw[-64bit] = -64bit ) 64bit-cpu Files: %lib/libzip.2*dylib Shlibs: %p/%lib/libzip.2.dylib 4.0.0 %n (>= 0.10-1) %type_num[-64bit] DocFiles: AUTHORS LICENSE NEWS README THANKS TODO << SplitOff2: << Package: %N-bin Depends: %N-shlibs (= %v-%r), ( %type_raw[-64bit] = -64bit ) 64bit-cpu Conflicts: libzip1-bin, libzip1-64bit-bin, libzip2-bin, libzip2-64bit-bin Replaces: libzip1-bin, libzip1-64bit-bin, libzip2-bin, libzip2-64bit-bin Files: bin share/man/man1 DocFiles: AUTHORS LICENSE NEWS README THANKS TODO << InfoTest: << TestScript: << # Must set time zone to CET for tests since author is from Austria # and used local time in test suite. VERBOSE=1 TZ=':CET' make check || exit 2 << << <<