You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-crypt/elettra/elettra-1.0.ebuild

36 lines
874 B

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/elettra/elettra-1.0.ebuild,v 1.3 2015/01/10 06:07:19 bircoph Exp $
inherit toolchain-funcs
MY_P="${PN}-src-${PV}"
DESCRIPTION="Plausible deniable file cryptography"
HOMEPAGE="http://www.winstonsmith.info/julia/elettra/"
SRC_URI="http://www.winstonsmith.info/julia/elettra/${MY_P}.tar.gz"
LICENSE="WTFPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE=""
RDEPEND="sys-libs/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 || die "dobin failed"
dodoc README || die "dodoc failed"
}