blueness    15/02/23 21:46:44

  Modified:             ChangeLog
  Added:                libsecp256k1-0.0.0_pre20141212.ebuild
  Log:
  Add 0.0.0_pre20141212 for libbitcoinconsensus
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
0xF52D4BBA)

Revision  Changes    Path
1.2                  dev-libs/libsecp256k1/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libsecp256k1/ChangeLog?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libsecp256k1/ChangeLog?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libsecp256k1/ChangeLog?r1=1.1&r2=1.2

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libsecp256k1/ChangeLog,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ChangeLog   21 Nov 2014 11:42:50 -0000      1.1
+++ ChangeLog   23 Feb 2015 21:46:44 -0000      1.2
@@ -1,7 +1,12 @@
 # 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 $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsecp256k1/ChangeLog,v 1.2 
2015/02/23 21:46:44 blueness Exp $
+
+*libsecp256k1-0.0.0_pre20141212 (23 Feb 2015)
+
+  23 Feb 2015; Anthony G. Basile <[email protected]>
+  +files/20141212-fixes.patch, +libsecp256k1-0.0.0_pre20141212.ebuild:
+  Add 0.0.0_pre20141212 for libbitcoinconsensus
 
   21 Nov 2014; Anthony G. Basile <[email protected]> ChangeLog:
   Initial commit, needed for bitcoins
-



1.1                  dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20141212.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20141212.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20141212.ebuild?rev=1.1&content-type=text/plain

Index: libsecp256k1-0.0.0_pre20141212.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20141212.ebuild,v
 1.1 2015/02/23 21:46:44 blueness Exp $

EAPI=5

inherit autotools eutils

MyPN=secp256k1
DESCRIPTION="Optimized C library for EC operations on curve secp256k1"
HOMEPAGE="https://github.com/bitcoin/${MyPN}";
COMMITHASH="2a53a472f24acd9ff10878b5bf21b5b27ab8060a"
SRC_URI="https://github.com/bitcoin/${MyPN}/archive/${COMMITHASH}.tar.gz -> 
${MyPN}-v${PV}.tgz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="asm doc endomorphism gmp test"

REQUIRED_USE="
        asm? ( amd64 )
"
RDEPEND="
        gmp? ( dev-libs/gmp )
"
DEPEND="${RDEPEND}
        virtual/pkgconfig
        >=sys-devel/gcc-4.7
        test? ( dev-libs/openssl )
"

S="${WORKDIR}/${MyPN}-${COMMITHASH}"

src_prepare() {
        epatch "${FILESDIR}/20141212-fixes.patch"
        eautoreconf
}

src_configure() {
        local field
        if use gmp && ! use asm; then
                field=gmp
        elif use amd64; then
                field=64bit
        else
                field=32bit
        fi

        econf \
                --disable-benchmark \
                $(use_enable test tests) \
                $(use_enable endomorphism)  \
                --with-asm=$(usex asm auto no) \
                --with-bignum=$(usex gmp gmp no) \
                --with-field=${field} \
                --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
}




Reply via email to