summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Whitlock <gentoo@mattwhitlock.name>2024-11-06 08:54:47 -0500
committerSam James <sam@gentoo.org>2024-11-06 14:27:41 +0000
commit894dd5d174305bbc15088f96d73e43cc9a678954 (patch)
treee8c7d82251426303df30b2fe29c5877593264cc0 /dev-libs/libsecp256k1/libsecp256k1-0.4.1.ebuild
parentsci-visualization/ggobi: add github upstream metadata (diff)
downloadgentoo-894dd5d174305bbc15088f96d73e43cc9a678954.tar.gz
gentoo-894dd5d174305bbc15088f96d73e43cc9a678954.tar.bz2
gentoo-894dd5d174305bbc15088f96d73e43cc9a678954.zip
dev-libs/libsecp256k1: EAPI=8 and tidy up variables
The canonical position for the `S` variable is after `SRC_URI`, and I have been told to move it there in the past, so the changes in this commit are in keeping consistent. (Editorial: It makes more sense to me to put it at the end of the variables since it comes into most relevance in src_unpack(), but that's not the status quo.) Signed-off-by: Matt Whitlock <gentoo@mattwhitlock.name> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libsecp256k1/libsecp256k1-0.4.1.ebuild')
-rw-r--r--dev-libs/libsecp256k1/libsecp256k1-0.4.1.ebuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/dev-libs/libsecp256k1/libsecp256k1-0.4.1.ebuild b/dev-libs/libsecp256k1/libsecp256k1-0.4.1.ebuild
index 192acd0850fc..a61fe7d80bae 100644
--- a/dev-libs/libsecp256k1/libsecp256k1-0.4.1.ebuild
+++ b/dev-libs/libsecp256k1/libsecp256k1-0.4.1.ebuild
@@ -9,6 +9,7 @@ MyPN=secp256k1
DESCRIPTION="Optimized C library for EC operations on curve secp256k1"
HOMEPAGE="https://github.com/bitcoin-core/secp256k1"
SRC_URI="https://github.com/bitcoin-core/secp256k1/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MyPN}-${PV}"
LICENSE="MIT"
SLOT="0/2" # subslot is "$((_LIB_VERSION_CURRENT-_LIB_VERSION_AGE))" from configure.ac
@@ -30,8 +31,6 @@ PATCHES=(
"${FILESDIR}/0.4.0-fix-cross-compile.patch"
)
-S="${WORKDIR}/${MyPN}-${PV}"
-
src_prepare() {
default
eautoreconf