git.schokokeks.org
Repositories
Help
Report an Issue
keks-overlay.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
1be432c
Branches
Tags
master
keks-overlay.git
app-crypt
sks
sks-1.1.1.ebuild
a few improvements
Bernd Wurst
commited
1be432c
at 2010-04-01 10:56:22
sks-1.1.1.ebuild
Blame
History
Raw
# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" DESCRIPTION="Synchronizing Key Server, a PGP keyserver written in OCAML" HOMEPAGE="http://www.nongnu.org/sks/" SRC_URI="http://sks-keyserver.googlecode.com/files/${P}.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="=dev-lang/ocaml-3.10.2 \ sys-libs/db" RDEPEND="${DEPEND}" src_compile() { # compilation breaks with parallel making MAKEOPTS="${MAKEOPTS} -j1" # find out DB-major-version and configure Makefile.local to use it BDBVER="$(best_version sys-libs/db|sed -e 's_^sys-libs/db-\(.\..\).*$_\1_')" einfo "using sys-libs/db-${BDBVER}" echo -e "LIBDB=-ldb-${BDBVER}\nexport LIBDB" > "${WORKDIR}/${P}/Makefile.local" emake dep || die "make dep failed" emake all || die "make all failed" } src_install() { # Makefile does not respect DESTDIR, so we must set up the needed variables emake "PREFIX=${D}/usr" "MANDIR=${D}/usr/share/man" install || die newinitd "${FILESDIR}"/sks.initd sks newconfd "${FILESDIR}"/sks.confd sks }