blob: 35bf2b732d875f6c97dbfcb82770231ccadc124f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# $Id: PKGBUILD 68024 2010-02-10 14:24:12Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Kritoke <kritoke@gamebox.net>
# Contributor: jlvsimoes <jlvsimoes@oninet.pt>
pkgname=crypto++
pkgver=5.6.0
_srcver=560
pkgrel=2
pkgdesc="A free C++ class library of cryptographic schemes."
arch=('i686' 'x86_64')
license=('custom')
makedepends=('unzip')
url="http://www.cryptopp.com/"
source=(http://www.cryptopp.com/cryptopp${_srcver}.zip)
md5sums=('36f35789ad60489d58003d3c849807e8')
build() {
cd ${srcdir}
sed -i -e 's/^CXXFLAGS/#CXXFLAGS/' GNUmakefile
make -f GNUmakefile || return 1
install -d ${pkgdir}/usr/{lib,include/cryptopp}
install -m644 *.h ${pkgdir}/usr/include/cryptopp/
install -m644 libcryptopp.a ${pkgdir}/usr/lib/
install -D -m644 License.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
|