summaryrefslogtreecommitdiff
path: root/extra/crypto++/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/crypto++/PKGBUILD')
-rw-r--r--extra/crypto++/PKGBUILD9
1 files changed, 2 insertions, 7 deletions
diff --git a/extra/crypto++/PKGBUILD b/extra/crypto++/PKGBUILD
index 7bcececdc..d838dbbc5 100644
--- a/extra/crypto++/PKGBUILD
+++ b/extra/crypto++/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 179501 2013-03-05 17:32:57Z giovanni $
+# $Id: PKGBUILD 203063 2014-01-03 09:15:09Z bpiotrowski $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
@@ -8,7 +8,7 @@
pkgname=crypto++
pkgver=5.6.2
_srcver=562
-pkgrel=1
+pkgrel=2
pkgdesc="A free C++ class library of cryptographic schemes"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.cryptopp.com/"
@@ -28,8 +28,6 @@ build() {
# The upstream build system expects this file to be modified
# to e.g. use system CFLAGS or use features of modern linkers.
cp "${srcdir}/GNUmakefile.parabola" GNUmakefile
- make -f GNUmakefile
-
sed -i -e 's/^CXXFLAGS/#CXXFLAGS/' GNUmakefile
export CXXFLAGS="${CXXFLAGS} -DNDEBUG -fPIC"
make -f GNUmakefile
@@ -37,11 +35,8 @@ build() {
}
package() {
- cd ${srcdir}
-
install -d ${pkgdir}/usr/{lib/pkgconfig,include/cryptopp}
install -m644 *.h ${pkgdir}/usr/include/cryptopp/
- install -m644 libcryptopp.a "${pkgdir}/usr/lib/libcryptopp.a"
install -m644 libcryptopp.so "${pkgdir}/usr/lib/libcryptopp.so"
install -m644 ${srcdir}/libcrypto++.pc "${pkgdir}/usr/lib/pkgconfig/libcrypto++.pc"
install -D -m644 License.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"