mingw64-i686-botan1.10 1.10.16
[git/cygwin-packages/mingw64-i686-botan1.10.git] / mingw64-i686-botan1.10.cygport
CommitLineData
41d590e1
YS
1CROSS_HOST="i686-w64-mingw32"
2inherit cross
3
4NAME="mingw64-i686-botan1.10"
9d268cef 5VERSION=1.10.16
41d590e1
YS
6RELEASE=1
7CATEGORY="Devel"
8SUMMARY="C++ crypto library for Win32 toolchain"
9DESCRIPTION="Botan is a crypto library for C++ released under the permissive
102-clause BSD license. It provides most any cryptographic algorithm you might be
11looking for, along with Transport Layer Security (TLS), X.509 certs, CRLs, and
12path validation, a pipeline-style message processing system, bcrypt password
13hashing, and other useful things."
14HOMEPAGE="http://botan.randombit.net/"
29d2341a 15#SRC_URI="http://botan.randombit.net/releases/Botan-${VERSION}.tgz"
9d268cef 16md5sum=c068a9c7f9eb8cf05a77fe8cacc74f93
29d2341a 17SRC_URI="http://pkgs.fedoraproject.org/repo/pkgs/botan/Botan-${VERSION}.stripped.tar.gz/${md5sum}/Botan-${VERSION}.stripped.tar.gz"
41d590e1 18SRC_DIR="Botan-${VERSION}"
8ceb8f4e
YS
19PATCH_URI="
20 http://pkgs.fedoraproject.org/cgit/botan.git/plain/botan-1.10.5-ecc-fix.patch
21 1.10.5-cross-compile.patch
22"
41d590e1
YS
23
24src_compile() {
25 lndirs
26 cd ${B}
27 ./configure.py \
28 --cc=gcc --os=mingw --cpu=i686 \
29 --prefix=${CROSS_PREFIX} --enable-shared \
29d2341a 30 --with-openssl --without-gnump --with-bzip2 --with-zlib \
41d590e1
YS
31 --without-doxygen --without-sphinx \
32 || error "configure failed"
33 cygmake CROSS=${CROSS_HOST}-
34}
35
36src_install() {
37 cd ${B}
38 cygmake install -j1 DESTDIR=${D}${CROSS_PREFIX} DOCDIR=${D}/usr/share/doc/${NAME}
39 rm -fr ${D}/usr/share/doc/${NAME}/manual/
40}
This page took 0.047956 seconds and 5 git commands to generate.