blob: 400b5f72eb75b6871b5dce393df24dacb8c3bdc2 (
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
41
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/radlib/radlib-2.12.0-r1.ebuild,v 1.1 2013/02/20 18:19:03 flameeyes Exp $
EAPI=5
inherit autotools-utils autotools
DESCRIPTION="Rapid Application Development Library"
HOMEPAGE="http://www.radlib.teel.ws/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
LICENSE="BSD-2"
SLOT="0"
IUSE="mysql postgres sqlite static-libs"
RDEPEND="mysql? ( dev-db/mysql )
postgres? ( dev-db/postgresql-base )
sqlite? ( dev-db/sqlite:3 )"
DEPEND="${RDEPEND}"
RESTRICT_USE="^^ ( mysql postgres )"
src_prepare() {
epatch "${FILESDIR}"/${P}-build.patch
eautoreconf
}
src_configure() {
local myeconfargs=(
$(use_enable mysql)
$(use_enable postgres pgresql)
$(use_enable sqlite)
)
autotools-utils_src_configure
}
src_test() { :; }
|