summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2007-11-24 11:30:06 +0000
committerTiziano Müller <dev-zero@gentoo.org>2007-11-24 11:30:06 +0000
commitfc92259aad4bdf6a0313f37082cee54fe6408337 (patch)
tree167d3cc7ec9c3fa68c6f4e90e1bf7dee6798042c /dev-db/sqliteman/sqliteman-1.0.1.ebuild
parentCL tweak (diff)
downloadsunrise-fc92259aad4bdf6a0313f37082cee54fe6408337.tar.gz
sunrise-fc92259aad4bdf6a0313f37082cee54fe6408337.tar.bz2
sunrise-fc92259aad4bdf6a0313f37082cee54fe6408337.zip
dev-db/sqliteman: Version bump.
svn path=/sunrise/; revision=5111
Diffstat (limited to 'dev-db/sqliteman/sqliteman-1.0.1.ebuild')
-rw-r--r--dev-db/sqliteman/sqliteman-1.0.1.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-db/sqliteman/sqliteman-1.0.1.ebuild b/dev-db/sqliteman/sqliteman-1.0.1.ebuild
new file mode 100644
index 000000000..36c964ec0
--- /dev/null
+++ b/dev-db/sqliteman/sqliteman-1.0.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+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"
+
+RDEPEND=">=x11-libs/qt-4.2
+ >=dev-db/sqlite-3.0"
+DEPEND="${RDEPEND}
+ dev-util/cmake"
+
+src_compile() {
+ 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
+ cmake . \
+ -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+ -DCMAKE_CXX_FLAGS="${CXXFLAGS}" \
+ -DCMAKE_C_FLAGS="${CFLAGS}" \
+ || die "cmake failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc AUTHORS README
+
+}