summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2014-11-21 11:43:04 +0000
committerAnthony G. Basile <blueness@gentoo.org>2014-11-21 11:43:04 +0000
commit5a2114accc3b8979131b82c8853f1d6165546c7f (patch)
treeeb93f3ed35d05e9cd87310d32473114b6c501a91 /dev-libs/libsecp256k1
parentREADME doc changed to markdown. (diff)
downloadhistorical-5a2114accc3b8979131b82c8853f1d6165546c7f.tar.gz
historical-5a2114accc3b8979131b82c8853f1d6165546c7f.tar.bz2
historical-5a2114accc3b8979131b82c8853f1d6165546c7f.zip
Initial commit, for bitcoins
Package-Manager: portage-2.2.8-r2/cvs/Linux x86_64 Manifest-Sign-Key: 0xF52D4BBA
Diffstat (limited to 'dev-libs/libsecp256k1')
-rw-r--r--dev-libs/libsecp256k1/ChangeLog7
-rw-r--r--dev-libs/libsecp256k1/Manifest23
-rw-r--r--dev-libs/libsecp256k1/libsecp256k1-9999.ebuild59
-rw-r--r--dev-libs/libsecp256k1/metadata.xml17
4 files changed, 106 insertions, 0 deletions
diff --git a/dev-libs/libsecp256k1/ChangeLog b/dev-libs/libsecp256k1/ChangeLog
new file mode 100644
index 000000000000..ddd613e64e0c
--- /dev/null
+++ b/dev-libs/libsecp256k1/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for dev-libs/libsecp256k1
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsecp256k1/ChangeLog,v 1.1 2014/11/21 11:42:50 blueness Exp $
+
+ 21 Nov 2014; Anthony G. Basile <blueness@gentoo.org> ChangeLog:
+ Initial commit, needed for bitcoins
+
diff --git a/dev-libs/libsecp256k1/Manifest b/dev-libs/libsecp256k1/Manifest
new file mode 100644
index 000000000000..6dd0d9e0f62e
--- /dev/null
+++ b/dev-libs/libsecp256k1/Manifest
@@ -0,0 +1,23 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+EBUILD libsecp256k1-9999.ebuild 1077 SHA256 51014b59f96489d479b28ee86706a683c54cae335756efda953600ca12fe11d5 SHA512 aa5e4ba85451a21557235672d2965be6801f756f830fe6c8bfecd9c2c1c4221479c101820ba5cbfad568765a943d82f6ac23d07687523469efcb19166ecc3b4d WHIRLPOOL 882844f6526886bf275ee31b126d71fc50137e595646b8aa1acafee3c40b11af58853fb7306005ac0412d2779a9650727241f072bf6557b71c55507fce797e54
+MISC ChangeLog 322 SHA256 440da84cd8b6ff1d4deecea0ddca5974def0ebd950f74ab13056c2e729ec86c7 SHA512 7c84bead3a99a7d445496f30af3affa6d88e0d714f17cd3ff2203d7d517f5fd84e03f2fd89347b61d5f029d1c13e88b79a5b590ca0a42d39c5b99e402a3bcf73 WHIRLPOOL 36a150cc9d9b8f748de5fb27d9e802d0aa7856c468dd9c874bd9afc0dd9daee8883ac8d1b642a5f1d7d316db6d05b668db9c27cd7353f21dfdd793e4047ca815
+MISC metadata.xml 506 SHA256 8dbfe75a466694784cec4fb30094e34fd965e96acd271e148c310f99cdfafb17 SHA512 60b88ffe37d8386994a3ff29ed9df9510fec20c19f4b285307b87676127c3a462d1bfcd271ab01bd6d66d42f95d25059dc6f996dac7ef99ffd86495200a52c9c WHIRLPOOL f9056bfb8a57809ce340f42c66a12d044c2873abd230aed65ff6e62d5fc2e3fca2d0fb3d94a50aad971d19702ee98babd59a714639d4499e51d92db3ebfec698
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iQIcBAEBCAAGBQJUbyXdAAoJEJOE+m71LUu6sZ4P/1n1fZaVWv9DJlFDRFN+dXke
+a77KwVovCcxvB7RkQqjCEgaNR9u7HqKrZDsYTiNVRVKY179a+SuEZC7drWNCjan7
+uUAKrkja+i4OK68vviLdnNgTAgBhi1RwxNq6fg0ltnpaAxxqftZqUGD5qNlAShvK
+YGefo2CPhhP9Opx4zOJrYOJJJ5rvbyNveQvT1hz0YZgkxWHEKA3cZEDhNuRR9crb
+BAXtZlrBo72BBly17faqbFF+ke4nHuBJRdVwMnn5Pr00VJKG2c6wZVqAuoW87oV7
+Ex1lzzM1xqGu2uAOzGdJF+aLoSf7NQGAYbyydUXZjPhrRt0B2AYlEsmMJsVkIoiQ
+81BN9HgOkuCdCqwz5dllJJR/YlPakqEsexXdXiPTghCJ2sd6nhVRWoFPix82rzB8
+dTRv5lWqeK+L0lOgi54XKCIlrqJF8gNv5M+BC/+TMKBOSc3846ceKqgdkp4XU6+f
+b5Qx8XrQg3bFl+D4rqHTPfC27GY2MHosq00+zziItZ2IYkGEpayIf/3qE4u+VNQG
+WjhSf+4opuJCNUjl8+HICejUZrup4YyTXWoikhzOVCHyDvQVCDEFPIXzsNYMQDuN
+UKYYWgmwk3TmVDnXqVchF/TZ6PwYH5gTR8whNc6Rs3hWTWplLrOBNZtUve2OhfsU
+5jM1CAI51Xl5tW60mjDW
+=RC2i
+-----END PGP SIGNATURE-----
diff --git a/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild b/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild
new file mode 100644
index 000000000000..b98b2807b583
--- /dev/null
+++ b/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild,v 1.1 2014/11/21 11:42:50 blueness Exp $
+
+EAPI=5
+
+EGIT_REPO_URI="https://github.com/bitcoin/secp256k1.git"
+inherit git-2 autotools
+
+DESCRIPTION="Optimized C library for EC operations on curve secp256k1"
+HOMEPAGE="https://github.com/bitcoin/secp256k1"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE="asm doc endomorphism test"
+
+REQUIRED_USE="
+ asm? ( amd64 )
+"
+RDEPEND="
+ dev-libs/gmp
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ >=sys-devel/gcc-4.7
+ asm? ( dev-lang/yasm )
+ test? ( dev-libs/openssl )
+"
+
+src_prepare() {
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-benchmark \
+ $(use_enable test tests) \
+ $(use_enable endomorphism) \
+ --with-field=$(usex asm 64bit_asm $(usex amd64 64bit gmp)) \
+ --disable-static
+}
+
+src_compile() {
+ emake
+}
+
+src_test() {
+ emake check
+}
+
+src_install() {
+ if use doc; then
+ dodoc README.md
+ fi
+
+ emake DESTDIR="${D}" install
+ prune_libtool_files
+}
diff --git a/dev-libs/libsecp256k1/metadata.xml b/dev-libs/libsecp256k1/metadata.xml
new file mode 100644
index 000000000000..cd809293ff5c
--- /dev/null
+++ b/dev-libs/libsecp256k1/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>proxy-maintainers</herd>
+ <maintainer>
+ <email>blueness@gentoo.org</email>
+ <name>Anthony G. Basile</name>
+ </maintainer>
+ <maintainer>
+ <email>luke-jr+gentoobugs@utopios.org</email>
+ <name>Luke Dashjr</name>
+ </maintainer>
+ <use>
+ <flag name='asm'>Enable x86_64 assembly optimisation</flag>
+ <flag name='endomorphism'>Enable endomorphism</flag>
+ </use>
+</pkgmetadata>