[arch-commits] Commit in crypto++/repos (6 files)

Antonio Rojas arojas at archlinux.org
Wed Jun 14 13:28:02 UTC 2017


    Date: Wednesday, June 14, 2017 @ 13:28:01
  Author: arojas
Revision: 236759

archrelease: copy trunk to community-i686, community-x86_64

Added:
  crypto++/repos/community-i686/
  crypto++/repos/community-i686/PKGBUILD
    (from rev 236758, crypto++/trunk/PKGBUILD)
  crypto++/repos/community-i686/libcrypto++.pc
    (from rev 236758, crypto++/trunk/libcrypto++.pc)
  crypto++/repos/community-x86_64/
  crypto++/repos/community-x86_64/PKGBUILD
    (from rev 236758, crypto++/trunk/PKGBUILD)
  crypto++/repos/community-x86_64/libcrypto++.pc
    (from rev 236758, crypto++/trunk/libcrypto++.pc)

---------------------------------+
 community-i686/PKGBUILD         |   34 ++++++++++++++++++++++++++++++++++
 community-i686/libcrypto++.pc   |   11 +++++++++++
 community-x86_64/PKGBUILD       |   34 ++++++++++++++++++++++++++++++++++
 community-x86_64/libcrypto++.pc |   11 +++++++++++
 4 files changed, 90 insertions(+)

Copied: crypto++/repos/community-i686/PKGBUILD (from rev 236758, crypto++/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-06-14 13:28:01 UTC (rev 236759)
@@ -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"
+}

Copied: crypto++/repos/community-i686/libcrypto++.pc (from rev 236758, crypto++/trunk/libcrypto++.pc)
===================================================================
--- community-i686/libcrypto++.pc	                        (rev 0)
+++ community-i686/libcrypto++.pc	2017-06-14 13:28:01 UTC (rev 236759)
@@ -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} 

Copied: crypto++/repos/community-x86_64/PKGBUILD (from rev 236758, crypto++/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-06-14 13:28:01 UTC (rev 236759)
@@ -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"
+}

Copied: crypto++/repos/community-x86_64/libcrypto++.pc (from rev 236758, crypto++/trunk/libcrypto++.pc)
===================================================================
--- community-x86_64/libcrypto++.pc	                        (rev 0)
+++ community-x86_64/libcrypto++.pc	2017-06-14 13:28:01 UTC (rev 236759)
@@ -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