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.
50 lines
948 B
50 lines
948 B
12 years ago
|
# Copyright 1999-2012 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
# $Header: /var/cvsroot/gentoo-x86/app-crypt/keynote/keynote-2.3-r3.ebuild,v 1.1 2012/11/07 13:17:51 kensington Exp $
|
||
|
|
||
|
EAPI=5
|
||
|
|
||
|
inherit eutils toolchain-funcs
|
||
|
|
||
|
DESCRIPTION="The KeyNote Trust-Management System"
|
||
|
HOMEPAGE="http://www1.cs.columbia.edu/~angelos/keynote.html"
|
||
|
SRC_URI="http://www1.cs.columbia.edu/~angelos/Code/${P}.tar.gz"
|
||
|
|
||
|
LICENSE="as-is"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
|
IUSE="ssl"
|
||
|
|
||
|
RDEPEND="ssl? ( dev-libs/openssl )"
|
||
|
DEPEND="${RDEPEND}
|
||
|
virtual/yacc"
|
||
|
|
||
|
pkg_setup() {
|
||
|
tc-export AR CC RANLIB
|
||
|
}
|
||
|
|
||
|
src_prepare() {
|
||
|
epatch "${FILESDIR}"/${P}-qa.patch
|
||
|
epatch "${FILESDIR}"/${P}-parallel-build.patch
|
||
|
}
|
||
|
|
||
|
src_compile() {
|
||
|
if use ssl; then
|
||
|
emake
|
||
|
else
|
||
|
emake nocrypto
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
dobin keynote
|
||
|
|
||
|
dolib.a libkeynote.a
|
||
|
|
||
|
insinto /usr/include
|
||
|
doins keynote.h
|
||
|
|
||
|
doman man/keynote.[1345]
|
||
|
dodoc README HOWTO.add.crypto TODO
|
||
|
}
|