summaryrefslogtreecommitdiff
blob: ae4a9c0e3c0cd6ecec8351b2afa6cf578bad15fd (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils cmake-utils

DESCRIPTION="Simple but powerfull Sqlite3 GUI database manager"
HOMEPAGE="http://sqliteman.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

RDEPEND=">=x11-libs/qt-4.2
		>=dev-db/sqlite-3.0"
DEPEND="${RDEPEND}
		dev-util/cmake"

pkg_setup() {
	if  ! built_with_use ">=x11-libs/qt-4.2" sqlite3; then
		eerror "sqliteman requires x11-libs/qt-4 compiled with sqlite3 support"
		die "Please, rebuild x11-libs/qt-4 with the \"sqlite3\" USE flag."
	fi
}

src_install() {
	cmake-utils_src_install
	dodoc AUTHORS README
}