[arch-commits] Commit in crypto++/repos (6 files)
Anatol Pomozov
anatolik at archlinux.org
Mon Feb 15 19:10:20 UTC 2016
Date: Monday, February 15, 2016 @ 20:10:20
Author: anatolik
Revision: 259338
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
crypto++/repos/testing-i686/
crypto++/repos/testing-i686/PKGBUILD
(from rev 259337, crypto++/trunk/PKGBUILD)
crypto++/repos/testing-i686/libcrypto++.pc
(from rev 259337, crypto++/trunk/libcrypto++.pc)
crypto++/repos/testing-x86_64/
crypto++/repos/testing-x86_64/PKGBUILD
(from rev 259337, crypto++/trunk/PKGBUILD)
crypto++/repos/testing-x86_64/libcrypto++.pc
(from rev 259337, crypto++/trunk/libcrypto++.pc)
-------------------------------+
testing-i686/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
testing-i686/libcrypto++.pc | 11 +++++++++++
testing-x86_64/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
testing-x86_64/libcrypto++.pc | 11 +++++++++++
4 files changed, 94 insertions(+)
Copied: crypto++/repos/testing-i686/PKGBUILD (from rev 259337, crypto++/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2016-02-15 19:10:20 UTC (rev 259338)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Kritoke <kritoke at gamebox.net>
+# Contributor: jlvsimoes <jlvsimoes at oninet.pt>
+
+pkgname=crypto++
+pkgver=5.6.3
+_srcver=${pkgver//./}
+pkgrel=1
+pkgdesc="A free C++ class library of cryptographic schemes"
+arch=('i686' 'x86_64')
+url="http://www.cryptopp.com/"
+license=('custom')
+depends=('gcc-libs')
+makedepends=('unzip')
+source=("http://www.cryptopp.com/cryptopp${_srcver}.zip"
+ 'libcrypto++.pc')
+md5sums=('3c5b70e2ec98b7a24988734446242d07'
+ '46de3847c59ad16456fa863eb33e73b2')
+
+build() {
+ sed -i -e 's/^CXXFLAGS/#CXXFLAGS/' GNUmakefile
+ export CXXFLAGS="${CXXFLAGS} -DNDEBUG -fPIC"
+ make -f GNUmakefile
+ make libcryptopp.so
+}
+
+package() {
+ install -d ${pkgdir}/usr/{lib/pkgconfig,include/cryptopp}
+ install -m644 *.h ${pkgdir}/usr/include/cryptopp/
+ 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"
+}
Copied: crypto++/repos/testing-i686/libcrypto++.pc (from rev 259337, crypto++/trunk/libcrypto++.pc)
===================================================================
--- testing-i686/libcrypto++.pc (rev 0)
+++ testing-i686/libcrypto++.pc 2016-02-15 19:10:20 UTC (rev 259338)
@@ -0,0 +1,11 @@
+# Written by Alexander Rødseth <rodseth at gmail.com>
+
+prefix=/usr
+libdir=${prefix}/lib
+includedir=${prefix}/include
+
+Name: libcrypto++-5.6.2
+Description: Class library of cryptographic schemes
+Version: 5.6.2
+Libs: -L${libdir} -lcryptopp
+Cflags: -I${includedir}
Copied: crypto++/repos/testing-x86_64/PKGBUILD (from rev 259337, crypto++/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2016-02-15 19:10:20 UTC (rev 259338)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Kritoke <kritoke at gamebox.net>
+# Contributor: jlvsimoes <jlvsimoes at oninet.pt>
+
+pkgname=crypto++
+pkgver=5.6.3
+_srcver=${pkgver//./}
+pkgrel=1
+pkgdesc="A free C++ class library of cryptographic schemes"
+arch=('i686' 'x86_64')
+url="http://www.cryptopp.com/"
+license=('custom')
+depends=('gcc-libs')
+makedepends=('unzip')
+source=("http://www.cryptopp.com/cryptopp${_srcver}.zip"
+ 'libcrypto++.pc')
+md5sums=('3c5b70e2ec98b7a24988734446242d07'
+ '46de3847c59ad16456fa863eb33e73b2')
+
+build() {
+ sed -i -e 's/^CXXFLAGS/#CXXFLAGS/' GNUmakefile
+ export CXXFLAGS="${CXXFLAGS} -DNDEBUG -fPIC"
+ make -f GNUmakefile
+ make libcryptopp.so
+}
+
+package() {
+ install -d ${pkgdir}/usr/{lib/pkgconfig,include/cryptopp}
+ install -m644 *.h ${pkgdir}/usr/include/cryptopp/
+ 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"
+}
Copied: crypto++/repos/testing-x86_64/libcrypto++.pc (from rev 259337, crypto++/trunk/libcrypto++.pc)
===================================================================
--- testing-x86_64/libcrypto++.pc (rev 0)
+++ testing-x86_64/libcrypto++.pc 2016-02-15 19:10:20 UTC (rev 259338)
@@ -0,0 +1,11 @@
+# Written by Alexander Rødseth <rodseth at gmail.com>
+
+prefix=/usr
+libdir=${prefix}/lib
+includedir=${prefix}/include
+
+Name: libcrypto++-5.6.2
+Description: Class library of cryptographic schemes
+Version: 5.6.2
+Libs: -L${libdir} -lcryptopp
+Cflags: -I${includedir}
More information about the arch-commits
mailing list