summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-10-25 09:39:03 +0100
committerJustin Lecher <jlec@gentoo.org>2015-10-25 10:24:01 +0100
commit4da60ad3eba2636cce8c89339a95c0af66d24027 (patch)
tree89814a8b8eb987f7a62b636b928545165c88cba9 /dev-db/wxsqlite3
parentdev-python/django: Drop old (diff)
downloadgentoo-4da60ad3eba2636cce8c89339a95c0af66d24027.tar.gz
gentoo-4da60ad3eba2636cce8c89339a95c0af66d24027.tar.bz2
gentoo-4da60ad3eba2636cce8c89339a95c0af66d24027.zip
dev-db/wxsqlite3: Version Bump
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=563972 Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-db/wxsqlite3')
-rw-r--r--dev-db/wxsqlite3/Manifest1
-rw-r--r--dev-db/wxsqlite3/wxsqlite3-3.2.1.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-db/wxsqlite3/Manifest b/dev-db/wxsqlite3/Manifest
index c971129d0f62..1c83f8025c37 100644
--- a/dev-db/wxsqlite3/Manifest
+++ b/dev-db/wxsqlite3/Manifest
@@ -1 +1,2 @@
DIST wxsqlite3-3.0.6.1.tar.gz 2707120 SHA256 c1d828782c72b86733ddfc8c1591040db8cb3c814871816374a7989727290996 SHA512 b7f496f7a9f8bbb9aa32049689efba9cc32dae868f56f26837c2dcb4546c88a488955c6d71776b4f9996090680d92e23834d6757ccd77e9507a55dc7e60e2f04 WHIRLPOOL b459c75929f209a17ca0cc757afe2ed2e4404c9654bd8db6c8fb61571746b6ce20c1623d4c8698569c9a35fd11ed77635e2a408c31701324fa09b84585660412
+DIST wxsqlite3-3.2.1.tar.gz 2810940 SHA256 312f2cf63c76a70bae92b78ea6fb7e9485fb23c3ee728daa418babab881939e4 SHA512 c62380815d881e9f08727cf28047d81acabf791429ee1a5df4db4a6e101a5c7c5fe6e314b18e83eda9c330fb62c996db7a560163d25dc8b948a04a970e7be3d6 WHIRLPOOL 2cbf9095f08dddba4671cb5be18b980e8387365e2e7c85fde31a60fd4d6f77ec1fdca07500e29e540bd94dcd439ed55768c47c07c7089cfdaabd37a5601f244b
diff --git a/dev-db/wxsqlite3/wxsqlite3-3.2.1.ebuild b/dev-db/wxsqlite3/wxsqlite3-3.2.1.ebuild
new file mode 100644
index 000000000000..af7c5651ae96
--- /dev/null
+++ b/dev-db/wxsqlite3/wxsqlite3-3.2.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+WX_GTK_VER="3.0"
+
+inherit eutils multilib wxwidgets
+
+DESCRIPTION="C++ wrapper around the public domain SQLite 3.x database"
+HOMEPAGE="http://wxcode.sourceforge.net/components/wxsqlite3/"
+SRC_URI="mirror://sourceforge/wxcode/${P}.tar.gz"
+
+LICENSE="wxWinLL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="
+ x11-libs/wxGTK:3.0[X,debug=]
+ dev-db/sqlite:3"
+RDEPEND="${DEPEND}"
+
+#S="${WORKDIR}/${P%.1}"
+
+src_prepare() {
+ local wxdebug
+
+ rm -rf sqlite3 || die
+ cp configure30 configure || die
+ use debug && wxdebug="d"
+ sed \
+ -e "s:@WXDEBUG@:${wxdebug}:g" \
+ -e "s:@WXVERSION@:${WX_GTK_VER}:g" \
+ -e "s:@LIBDIR@:$(get_libdir):g" \
+ -e "s:@VERSION@:${PV}:g" \
+ "${FILESDIR}"/${PN}-3.0.6.1.pc.in > ${PN}.pc || die
+}
+
+src_configure() {
+ econf \
+ --enable-shared \
+ --enable-unicode \
+ --with-wx-config="${WX_CONFIG}" \
+ --with-wxshared \
+ --with-sqlite3-prefix="${PREFIX}/usr"
+}
+
+src_install() {
+ default
+
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins ${PN}.pc
+
+ dodoc Readme.txt
+ dohtml -r docs/html/*
+ docinto samples
+ dodoc -r samples/*
+}