the Fink project is an effort to port
popular Unix programs to Mac OS X
Info2: <<
Package: libbind6
Version: 5.999
Revision: 3
Type: v (6.0b1)
# type "v" is there for the cases where we have some form of pre-release
# version, where to keep version comparisons sane, "%v" cannot coincide
# with the upstream version "v"
Conflicts: bind9-shlibs (<< 9.5.0-1), bind9-ssl-shlibs (<< 9.5.0-1)
## Add one of the 2 next lines (the second, certainly provisionally, as "upgrade path") ?
#Replaces: bind9-shlibs (<< 9.5.0-1), bind9-ssl-shlibs (<< 9.5.0-1)
#BuildDepends: bind9-shlibs (>> 9.5.0-1), bind9-ssl-shlibs (>> 9.5.0-1)
Source: ftp://ftp.isc.org/isc/libbind/%type_raw[v]/libbind-%type_raw[v].tar.gz
Source-MD5: c54fa30a0051d604bc4a8a9242b4604a
SetCFLAGS: -Os -fstrict-aliasing
SetLIBRARY_PATH: %p/lib
NoSetLDFLAGS: true
NoSetCPPFLAGS: true
SetLDFLAGS: -Wl,-x -Wl,-dead_strip
ConfigureParams: --mandir=%i/share/man --infodir=%p/share/info --with-libtool --enable-threads --enable-ipv6 --disable-static
CompileScript: <<
#!/bin/sh -ev
export CPATH=%p/include
export STD_CDEFINES="-DDIG_SIGCHASE=1"
%{default_script}
<<
InstallScript: <<
make install prefix=%i
rm -fR %i/share/man/cat*
#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: CHANGES COPYRIGHT README
Shlibs: %p/lib/libbind.4.dylib 7.0.0 %n (>= 5.999-1)
Splitoff: <<
Package: %N-dev
Files: include lib/*.la lib/libbind.dylib share/man
Depends: %N (=%v-%r)
BuildDependsOnly: true
InstallScript: mkdir -p %i/share/doc; ln -s %N %i/share/doc/%n
<<
Description: Berkeley Internet Name Domain
DescDetail: <<
This is the resolver library, libbind, formerly part of the bind9 pkg..
<<
License: Public Domain
Maintainer: None
Homepage: http://www.isc.org/products/BIND/
<<