]> Pileus Git - ~andy/sunrise/commitdiff
dev-db/sqliteman: New Ebuild for bug #173637
authorGuy Rutenberg (guyru) <guyrutenberg@gmail.com>
Sat, 7 Apr 2007 09:12:27 +0000 (09:12 +0000)
committerGuy Rutenberg (guyru) <guyrutenberg@gmail.com>
Sat, 7 Apr 2007 09:12:27 +0000 (09:12 +0000)
svn path=/sunrise/; revision=3368

dev-db/sqliteman/ChangeLog [new file with mode: 0644]
dev-db/sqliteman/Manifest [new file with mode: 0644]
dev-db/sqliteman/metadata.xml [new file with mode: 0644]
dev-db/sqliteman/sqliteman-0.99_pre20070403.ebuild [new file with mode: 0644]

diff --git a/dev-db/sqliteman/ChangeLog b/dev-db/sqliteman/ChangeLog
new file mode 100644 (file)
index 0000000..bac38e2
--- /dev/null
@@ -0,0 +1,8 @@
+# ChangeLog for dev-db/sqliteman
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+  07 Apr 2007; Guy Rutenberg (guyru) <guyrutenberg@gmail.com>
+  +sqliteman-0.99_pre20070403.ebuild, +metadata.xml:
+  New Ebuild for bug #173637
+
diff --git a/dev-db/sqliteman/Manifest b/dev-db/sqliteman/Manifest
new file mode 100644 (file)
index 0000000..617dbb4
--- /dev/null
@@ -0,0 +1,4 @@
+DIST sqliteman-0.99-20070403.tar.gz 698704 RMD160 bff796a81c7adabcc18296302955975e5c0a9d2d SHA1 dc5b447f46961d07fbe8a80876849722cb4cde3c SHA256 cecd8412a924715b45a955e1eccdf6695de85946c7fdf2f2ad43d920917a8b73
+EBUILD sqliteman-0.99_pre20070403.ebuild 1028 RMD160 cd93a07fac2ce778104d1f1e37849aab2a38db3e SHA1 04080fecb92dbb285e10a6c1574e66a639c22bfe SHA256 89e74ceb2938e113b85c0d3daf70afdc92b2a817a4cf1017e7623ca39bac9312
+MISC ChangeLog 262 RMD160 e7023cb5b20fe3837a8e7adce54a810f4f471365 SHA1 e9377ba0c36bd493c6168542339102669f9c5289 SHA256 fcae067f16eb52214defaf5263c7fa82163fd1cc06afa8355ab8da2158112d73
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/dev-db/sqliteman/metadata.xml b/dev-db/sqliteman/metadata.xml
new file mode 100644 (file)
index 0000000..7e32869
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>
diff --git a/dev-db/sqliteman/sqliteman-0.99_pre20070403.ebuild b/dev-db/sqliteman/sqliteman-0.99_pre20070403.ebuild
new file mode 100644 (file)
index 0000000..c9d26be
--- /dev/null
@@ -0,0 +1,45 @@
+# 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://www.assembla.com/space/sqliteman/"
+SRC_URI="mirror://sourceforge/sqliteman/${P/_pre/-}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc"
+
+DEPEND="${RDEPEND}
+               dev-util/cmake"
+RDEPEND=">=x11-libs/qt-4.2
+               >=dev-db/sqlite-3.0"
+
+MY_P="sqliteman-0.99"
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+       if  ! built_with_use x11-libs/qt sqlite3; then
+               eerror "sqliteman requires that x11-libs/qt will be"
+               eerror "compiled with sqlite3 support"
+               die "Please, rebuild x11-libs/qt 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 "Compile Failed!"
+}
+
+src_install() {
+       emake DESTDIR="${D}" install || die "Install Failed!"
+
+       if use doc ; then
+               dodoc AUTHORS README
+       fi
+}