mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 09:07:26 -08:00
Done via: ``` git grep -l virtual/zlib$ | xargs sed -i -e 's@virtual/zlib$@&:=@' ``` Signed-off-by: Michał Górny <mgorny@gentoo.org>
37 lines
722 B
Bash
37 lines
722 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit toolchain-funcs
|
|
|
|
MY_P="${PN}-src-${PV}"
|
|
|
|
DESCRIPTION="Plausible deniable file cryptography"
|
|
HOMEPAGE="https://www.winstonsmith.info/julia/elettra/"
|
|
SRC_URI="https://www.winstonsmith.info/julia/elettra/${MY_P}.tar.gz"
|
|
|
|
LICENSE="WTFPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
|
IUSE=""
|
|
|
|
RDEPEND="virtual/zlib:=
|
|
app-crypt/mhash
|
|
dev-libs/libmcrypt"
|
|
|
|
DEPEND="${RDEPEND}"
|
|
|
|
S="${WORKDIR}/${PN}"
|
|
|
|
src_compile() {
|
|
$(tc-getCC) ${CFLAGS} ${LDFLAGS} -I. src/*.c \
|
|
-lz `libmcrypt-config --cflags --libs` -lmhash \
|
|
-o elettra || die "compilation failed"
|
|
}
|
|
|
|
src_install() {
|
|
dobin elettra
|
|
dodoc README
|
|
}
|