summaryrefslogtreecommitdiff
path: root/dev-libs/konforka-svn/konforka-svn-284.ebuild
blob: 8cda0a63359a227f7f12a8e944c1bd297130f680 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit subversion eutils

ESVN_REPO_URI="http://svn.klever.net/kin/konforka/trunk"
ESVN_PROJECT="konforka"
ESVN_BOOTSTRAP="./autogen.sh --help >&/dev/null"
ESVN_OPTIONS="-r${PV}"

DESCRIPTION="A convenience library for KIN project"
HOMEPAGE="http://kin.klever.net/konforka/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="postgres"

RDEPEND="
	postgres? ( dev-libs/libpqxx )
	!dev-libs/konforka
"
DEPEND="${RDEPEND}
	dev-util/pkgconfig
	sys-devel/autoconf
	sys-devel/automake
	sys-devel/libtool
"

src_compile() {
	econf \
		PKG_CONFIG_PATH="/usr/$(get_libdir)/pkgconfig:${PKG_CONFIG_PATH}" \
		|| die "econf failed"
	emake || die "emake failed"
}

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed"
	dodoc AUTHORS COPYING NEWS
}