botan stable port information

Package: botan
Version: 1.8.6
Revision: 1
Source: http://files.randombit.net/botan/Botan-%v.tbz
Source-MD5: 827f71f450eb1b7bc9e173c402bc48dc
## need to preserve cap, for case-sensitive systems, or also use SourceDirectory..
SourceRename: Botan-%v.tar.bz2
PatchFile: %n.patch
PatchFile-MD5: 9df478eb1ea50a8a122c4c91ac2c2591
Depends: %N-shlibs (= %v-%r)
BuildDependsOnly: True
BuildDepends: <<
fink (>= 0.24.12)
<<
GCC: 4.0
ConfigureParams: --cpu=generic --docdir=%p/share/doc
CompileScript: <<
./configure.pl %c
make
install_name_tool -id %p/lib/libbotan-1.8.2.dylib libbotan-1.8.2.dylib
<<
InstallScript: make install DESTDIR=%i
InfoTest: <<
TestScript: make check || exit 2
<<
SplitOff: <<
Package: %N-shlibs
Files: lib/libbotan-1.8.2.dylib
DocFiles: <<
readme.txt doc/license.txt doc/log.txt doc/thanks.txt doc/credits.txt
<<
Shlibs: <<
%p/lib/libbotan-1.8.2.dylib 0.0.0 %n (>= 1.8.6-1)
<<
<<
DocFiles: <<
doc/api.pdf doc/architecture.pdf doc/insito_manual.pdf doc/tutorial.pdf
<<
Description: C++ Cryptographic library
DescDetail: <<
Botan is a BSD-licensed crypto library written in C++. It provides a wide
variety of basic cryptographic algorithms, X.509 certificates and CRLs, PKCS
#10 certificate requests, a filter/pipe message processing system, and a wide
variety of other features, all written in portable C++.
<<
DescPackaging: <<
Freaky perl configure scripts are annoying.
I've modified src/build-data/makefile/unix.in to not install docs, as we use
DocFiles to do the same thing.
The install_name of the .dylib needs to be fixed, the build process doesn't
get it right.
<<
License: BSD
Maintainer: Corey Halpin
Homepage: http://botan.randombit.net/

botan stable port .patch

diff -ru Botan-1.8.1/src/build-data/makefile/unix_shr.in Botan-1.8.1-patched/src/build-data/makefile/unix_shr.in
--- Botan-1.8.1/src/build-data/makefile/unix_shr.in 2009-01-20 00:25:17.000000000 -0600
+++ Botan-1.8.1-patched/src/build-data/makefile/unix_shr.in 2009-03-23 14:49:08.000000000 -0500
@@ -122,14 +122,10 @@

install: $(LIBRARIES)
$(ECHO) "Installing Botan into $(DESTDIR)... "
- $(MKDIR_INSTALL) $(DOCDIR)
$(MKDIR_INSTALL) $(HEADERDIR)
$(MKDIR_INSTALL) $(LIBDIR)
$(MKDIR_INSTALL) $(BINDIR)
$(MKDIR_INSTALL) $(PKGCONF_DIR)
- for i in $(DOCS); do \
- $(INSTALL_CMD_DATA) $$i $(DOCDIR); \
- done
for i in $(HEADERS); do \
$(INSTALL_CMD_DATA) $$i $(HEADERDIR); \
done

botan _unstable_ port .patch