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/dev-libs/radlib/radlib-2.12.0-r1.ebuild

42 lines
903 B

# 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() { :; }