summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorJakub Moc <jakub@gentoo.org>2007-11-25 09:12:38 +0000
committerJakub Moc <jakub@gentoo.org>2007-11-25 09:12:38 +0000
commit6c35ce11272e688c4c4bbf7722333fe6f6791ceb (patch)
tree2d90e44f3f5601969c40371f2f410bbd88702f6f /dev-db
parentVersion bump, fixed license information, added conditional doc-building, adde... (diff)
downloadsunrise-6c35ce11272e688c4c4bbf7722333fe6f6791ceb.tar.gz
sunrise-6c35ce11272e688c4c4bbf7722333fe6f6791ceb.tar.bz2
sunrise-6c35ce11272e688c4c4bbf7722333fe6f6791ceb.zip
dev-db/sqliteman: Switch to cmake-utils eclass; move built_with_use check to pkg_setup()
svn path=/sunrise/; revision=5113
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/sqliteman/ChangeLog3
-rw-r--r--dev-db/sqliteman/Manifest4
-rw-r--r--dev-db/sqliteman/sqliteman-1.0.1.ebuild15
3 files changed, 9 insertions, 13 deletions
diff --git a/dev-db/sqliteman/ChangeLog b/dev-db/sqliteman/ChangeLog
index 5e75e59f2..f05a0a19a 100644
--- a/dev-db/sqliteman/ChangeLog
+++ b/dev-db/sqliteman/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 25 Nov 2007; Jakub Moc <jakub@gentoo.org> sqliteman-1.0.1.ebuild:
+ Switch to cmake-utils eclass; move built_with_use check to pkg_setup()
+
24 Nov 2007; Tiziano Müller <dev-zero@gentoo.org> ++,
-sqliteman-0.99_pre20070509.ebuild:
Version bump.
diff --git a/dev-db/sqliteman/Manifest b/dev-db/sqliteman/Manifest
index 88016597c..4716ea2ad 100644
--- a/dev-db/sqliteman/Manifest
+++ b/dev-db/sqliteman/Manifest
@@ -1,4 +1,4 @@
DIST sqliteman-1.0.1.tar.gz 538425 RMD160 48e279c5abe1e8da6e9cd618fbb55e36648ed625 SHA1 1c4ac936174f0f1dbddec479657e1da0dd133d01 SHA256 8f5779482e161e469124e44a98ead628b12c213d3df356231924d1172508a572
-EBUILD sqliteman-1.0.1.ebuild 921 RMD160 eb0390b83a942adcc0c886c7cacfd12cfb844811 SHA1 6ddda0858c126c7877bfbe6475ae6dbd4b7307dd SHA256 3ddb1f9a45f3d618e61697ed065eb7b5cb41dfdf50a8c86dfecb1ee660d85ccb
-MISC ChangeLog 882 RMD160 ca5e1f3102b20ddfe9611e3dd8b3e9b064e0e1e9 SHA1 453411e0d9a0cd2f42ac45b4616425b5c6fb8cbe SHA256 7e905606d0073d161e819e493fc153074682c9b90bc5f09a99c8b3d1bf83b3c1
+EBUILD sqliteman-1.0.1.ebuild 726 RMD160 8a49bf7e0b8528d479442b506f792cb1f4a01105 SHA1 3c615f2a3f05f861d5c1a95bcd9a3a6035c60b8f SHA256 2e7623884e68acc9d60e5a6f52f8ec7eaf156e116d951e5667be3f5a59743e86
+MISC ChangeLog 1024 RMD160 01fb2db693a28521f54d0d37fb936100a3be9bd8 SHA1 b6685068f94481761ed4e137a843b7f5e710781d SHA256 3aed6632a31b233936050d49c1204b70e41f51fba4a5b8442a9163438b6f4f9e
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/dev-db/sqliteman/sqliteman-1.0.1.ebuild b/dev-db/sqliteman/sqliteman-1.0.1.ebuild
index 36c964ec0..0d8ffa318 100644
--- a/dev-db/sqliteman/sqliteman-1.0.1.ebuild
+++ b/dev-db/sqliteman/sqliteman-1.0.1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-inherit eutils
+inherit eutils cmake-utils
DESCRIPTION="Simple but powerfull Sqlite3 GUI database manager"
HOMEPAGE="http://sqliteman.sourceforge.net/"
@@ -17,22 +17,15 @@ RDEPEND=">=x11-libs/qt-4.2
DEPEND="${RDEPEND}
dev-util/cmake"
-src_compile() {
+
+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
- 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"
-
+ cmake-utils_src_install
dodoc AUTHORS README
-
}