Info4: << Package: libzip1%type_pkg[-64bit] Version: 0.9.3 Revision: 2 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.bz2 Source-MD5: 27610091ca27bf843a6646cd05de35b9 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 /usr/bin/head -n 34 src/zipcmp.c > LICENSE #No need for dependency_libs in .la files if not building static libs perl -pi -e "s/dependency_libs=.*$/dependency_libs=''/" %i/%lib/*.la << DocFiles: AUTHORS LICENSE NEWS README THANKS TODO SplitOff: << Package: %N-shlibs Depends: ( %type_raw[-64bit] = -64bit ) 64bit-cpu Files: %lib/libzip.1*dylib Shlibs: %p/%lib/libzip.1.dylib 2.0.0 %n (>= 0.8-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: make check || exit 2 <<