Package: libdap10 Version: 3.10.2 Revision: 1 BuildDependsOnly: true GCC: 4.0 Description: DAP 2.0 C++ SDK License: LGPL Maintainer: None Depends: %N-shlibs (= %v-%r), pkgconfig BuildDepends: libcurl4 (>= 7.19.3-2), libxml2, libiconv-dev, fink-package-precedence Conflicts: aplus-fsf-dev, libdap9, libdap11 Replaces: aplus-fsf-dev, libdap9, libdap11 # Unpack Phase: Source: http://www.opendap.org/pub/source/libdap-%v.tar.gz Source-MD5: 4367f3266f20479a68d9fdaeaa001af8 # Patch Phase: PatchFile: %n.patch PatchFile-MD5: 479e22eb4a63eec9235a3b1feab4cc36 PatchScript: << sed -e 's,@FINKPREFIX@,%p', -e 's,@DAPVERS@,10,' %{PatchFile} | patch -p1 perl -pi -e 's,curl/types,curl/curl,' HTTPConnect.h << # Compile Phase SetLDFLAGS: -Wl,-dead_strip_dylibs ConfigureParams: --libdir=%p/opt/%N/lib --includedir=%p/opt/%N/include CompileScript: << #!/bin/sh -ev ./configure %c # for some reason, the allow_undefined_flag doesn't get set right by configure. perl -pi.BAK -e 's|-single_module |-single_module -undefined dynamic_lookup |' libtool make fink-package-precedence . << # Install Phase: DocFiles: COPYING COPYRIGHT_* README README.* NEWS InstallScript: << make install DESTDIR=%d << SplitOff: << Package: %N-shlibs Files: opt/%N/lib/libdap*.*.dylib Depends: libcurl4-shlibs (>= 7.19.3-2), libxml2-shlibs Shlibs: << %p/opt/%N/lib/libdap.10.dylib 13.0.0 %n (>= 3.10.2-1) %p/opt/%N/lib/libdapclient.3.dylib 5.0.0 %n (>= 3.10.2-1) %p/opt/%N/lib/libdapserver.7.dylib 9.0.0 %n (>= 3.10.2-1) << DocFiles: COPYING COPYRIGHT_* README README.* NEWS << DescDetail: << A C++ SDK which contains an implementation of DAP 2.0, Client- and Server-side support classes and a prototype implementation of the AIS. << DescPackaging: << Patch dap-config.in and dap-config-pkgconfig so that they actually point dependent packages to the actual include directory and lib directory, and .pc file, respectively. Update provider for stuff in long-deprecated, and now gone, curl/types.h. Former Maintainer: Alexander Hansen << Homepage: http://www.opendap.org/download/libdap