[arch-commits] Commit in (5 files)

Antonio Rojas arojas at archlinux.org
Wed Jun 14 13:27:49 UTC 2017


    Date: Wednesday, June 14, 2017 @ 13:27:48
  Author: arojas
Revision: 236758

extra2community: Moving crypto++ from extra to community

Added:
  crypto++/
  crypto++/repos/
  crypto++/trunk/
  crypto++/trunk/PKGBUILD
  crypto++/trunk/libcrypto++.pc

----------------+
 PKGBUILD       |   34 ++++++++++++++++++++++++++++++++++
 libcrypto++.pc |   11 +++++++++++
 2 files changed, 45 insertions(+)

Added: crypto++/trunk/PKGBUILD
===================================================================
--- crypto++/trunk/PKGBUILD	                        (rev 0)
+++ crypto++/trunk/PKGBUILD	2017-06-14 13:27:48 UTC (rev 236758)
@@ -0,0 +1,34 @@
+# $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.5
+_srcver=${pkgver//./}
+pkgrel=2
+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=('df5ef4647b4e978bba0cac79a83aaed5'
+         'ea27f28fe0303fcaa24d83cf4a964d53')
+
+build() {
+  CXXFLAGS+=" -DNDEBUG -fPIC" make -f GNUmakefile-cross  
+  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"
+}


Property changes on: crypto++/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: crypto++/trunk/libcrypto++.pc
===================================================================
--- crypto++/trunk/libcrypto++.pc	                        (rev 0)
+++ crypto++/trunk/libcrypto++.pc	2017-06-14 13:27:48 UTC (rev 236758)
@@ -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.4
+Description: Class library of cryptographic schemes
+Version: 5.6.4
+Libs: -L${libdir} -lcryptopp
+Cflags: -I${includedir} 



More information about the arch-commits mailing list