X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com [74.125.82.44]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id C5362DC0210 for ; Thu, 11 Dec 2014 12:03:53 +0000 (UTC) Received: by mail-wg0-f44.google.com with SMTP id b13so6202093wgh.3 for ; Thu, 11 Dec 2014 04:03:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id; bh=pwdDWznTfceeY0Ob+5mdvGqHQk8q8bXsuz7gUuVc1gc=; b=VDSB0+72oEhNk9r43aAAoi9jFTW3txJXe0ww4TUzlAPvmrzb7Rh58gmhkEAddvi5SU 1sJjnde0XRvf2mjZG9II8Kcqh02D3Qv5PZwACrVtC9dyHHWP+g5PbsGrzxXl5RQXehkM mucvujWHwrUahRQCsfuhjR79RymA9b9oCYaH4RG4667JUM7EUyzsAM/lo7Kr/5DA/cXm fjG5MR7zcU2Z11P+cws7Ut5rQBLeQS3H43EG8uTEhwprbwdwLMhdcSjTIie2ZKYcsaU4 sWDBBypwnRM0jeMA0E+uOEn2puXA61RR8sRyAQxOPbJQbxuOyaXgxV0yYA5pLNOq/Afk vfRA== X-Received: by 10.180.208.112 with SMTP id md16mr21617256wic.37.1418299432250; Thu, 11 Dec 2014 04:03:52 -0800 (PST) Received: from alpine.my.domain (84.127.141.73.dyn.user.ono.com. [84.127.141.73]) by mx.google.com with ESMTPSA id mc10sm2662588wic.24.2014.12.11.04.03.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 11 Dec 2014 04:03:51 -0800 (PST) From: AmatCoder To: alpine-devel@lists.alpinelinux.org Subject: [alpine-devel] [PATCH] testing/crypto++: new aport Date: Thu, 11 Dec 2014 11:59:06 +0000 Message-Id: <1418299146-611-1-git-send-email-amatcoder@gmail.com> X-Mailer: git-send-email 2.2.0 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- testing/crypto++/APKBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 testing/crypto++/APKBUILD diff --git a/testing/crypto++/APKBUILD b/testing/crypto++/APKBUILD new file mode 100644 index 0000000..0a50b16 --- /dev/null +++ b/testing/crypto++/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: August Klein +# Maintainer: August Klein +pkgname=crypto++ +pkgver=5.6.2 +pkgrel=0 +pkgdesc="A free C++ class library of cryptographic schemes" +url="http://www.cryptopp.com" +arch="all" +license="custom" +depends="" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev" +source="http://downloads.sourceforge.net/cryptopp/cryptopp562.zip" + +_builddir="$srcdir" +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + sed -i -e 's/^CXXFLAGS/#CXXFLAGS/' GNUmakefile || return 1 + export CXXFLAGS="${CXXFLAGS} -DNDEBUG -fPIC" + make libcryptopp.so || return 1 +} + +package() { + cd "$_builddir" + install -Dm644 libcryptopp.so "$pkgdir"/usr/lib/libcryptopp.so || return 1 + install -Dm644 License.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE || return 1 + + mkdir -p "$pkgdir"/usr/include/cryptopp || return 1 + cp *.h "$pkgdir"/usr/include/cryptopp || return 1 +} + +md5sums="7ed022585698df48e65ce9218f6c6a67 cryptopp562.zip" +sha256sums="5cbfd2fcb4a6b3aab35902e2e0f3b59d9171fee12b3fc2b363e1801dfec53574 cryptopp562.zip" +sha512sums="016ca7ebad1091d67ad0bc5ccb7549d96d4af6b563d9d5a612cae27b3d1a3514c41b954e319fed91c820e8c701e3aa43da186e0864bf959ce4afd1539248ebbe cryptopp562.zip" -- 2.2.0 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---