Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 686492
Collapse All | Expand All

(-)a/app-crypt/elettra/elettra-1.0-r1.ebuild (+34 lines)
Line 0 Link Here
1
# Copyright 1999-2019 Gentoo Authors
2
# Distributed under the terms of the GNU General Public License v2
3
4
EAPI=7
5
6
inherit toolchain-funcs
7
8
MY_P="${PN}-src-${PV}"
9
10
DESCRIPTION="Plausible deniable file cryptography"
11
HOMEPAGE="http://www.winstonsmith.info/julia/elettra/"
12
SRC_URI="http://www.winstonsmith.info/julia/elettra/${MY_P}.tar.gz"
13
14
LICENSE="WTFPL-2"
15
SLOT="0"
16
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
17
18
RDEPEND="sys-libs/zlib
19
		 app-crypt/mhash
20
		 dev-libs/libmcrypt"
21
DEPEND="${RDEPEND}"
22
23
S="${WORKDIR}/${PN}"
24
25
src_compile() {
26
	$(tc-getCC) ${CFLAGS} ${LDFLAGS} -I. src/*.c \
27
		-lz $(libmcrypt-config --cflags --libs) -lmhash \
28
		-o elettra || die "compilation failed"
29
}
30
31
src_install() {
32
	dobin elettra
33
	dodoc README
34
}

Return to bug 686492