summaryrefslogtreecommitdiff
path: root/dev-libs/supercop/supercop-0_p20200827-r1.ebuild
blob: 50caf2fa852becfd1ce85e82c47985e5547dd477 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake flag-o-matic

MY_REV="633500ad8c8759995049ccd022107d1fa8a1bbc9"

DESCRIPTION="Fast cryptographic operations for Monero wallets"
HOMEPAGE="https://github.com/monero-project/supercop"
SRC_URI="https://github.com/monero-project/supercop/archive/${MY_REV}.tar.gz -> ${PN}-${MY_REV}.tar.gz"

S="${WORKDIR}"/${PN}-${MY_REV}

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="dev-lang/nasm"

src_configure() {
	append-flags -fPIC
	append-ldflags -Wl,-z,noexecstack
	cmake_src_configure
}