summaryrefslogtreecommitdiff
path: root/dev-db/wxsqlite3
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/wxsqlite3')
-rw-r--r--dev-db/wxsqlite3/Manifest6
-rw-r--r--dev-db/wxsqlite3/files/wxsqlite3-3.2.1.pc.in14
-rw-r--r--dev-db/wxsqlite3/metadata.xml11
-rw-r--r--dev-db/wxsqlite3/wxsqlite3-3.2.1-r1.ebuild55
4 files changed, 86 insertions, 0 deletions
diff --git a/dev-db/wxsqlite3/Manifest b/dev-db/wxsqlite3/Manifest
new file mode 100644
index 000000000000..6465ddc42133
--- /dev/null
+++ b/dev-db/wxsqlite3/Manifest
@@ -0,0 +1,6 @@
+AUX wxsqlite3-3.2.1.pc.in 381 SHA256 4bd1d1b406556a5a36d232326250837494f524b933974b4db4d641a2dd7f262b SHA512 4afa87e5eaafc6e21d1f9f6c60716cd783f2286a805a35bdffb391a1c54839baf0651bedbf28ef6e7c9e5d0835beaf0b6d055f919c7169d293bd12a6375bfcfc WHIRLPOOL 4e52385c04d1706718bb15e5e90b5873f99002bc52d6e0b584609b13a47f2064cfbe983c023907c25b03cc5b662426d6acb6c941bebcf5cd1d5ffc6e2107302e
+DIST wxsqlite3-3.2.1.tar.gz 2810940 SHA256 312f2cf63c76a70bae92b78ea6fb7e9485fb23c3ee728daa418babab881939e4 SHA512 c62380815d881e9f08727cf28047d81acabf791429ee1a5df4db4a6e101a5c7c5fe6e314b18e83eda9c330fb62c996db7a560163d25dc8b948a04a970e7be3d6 WHIRLPOOL 2cbf9095f08dddba4671cb5be18b980e8387365e2e7c85fde31a60fd4d6f77ec1fdca07500e29e540bd94dcd439ed55768c47c07c7089cfdaabd37a5601f244b
+EBUILD wxsqlite3-3.2.1-r1.ebuild 1068 SHA256 e24f7ab6d9ededc548f79bd2bee126ec99b12d68b195096b61330e11642321a5 SHA512 9b54fd5b074bea8539f9fc433f1eb3d4a22ad3ce5d9f502be02a8001612b14e50ebfa1095f2c6ae44c0678d05338b5b49cf5c21f376d2f80d962fd58e57bfeac WHIRLPOOL 1e0486777de6ba67a25485f8fbbd90194d88b4104a02e2ca9ac4a43721872fdd0923a124f697c26ed321a9cad3e6093d2b1e381233ed8c15100b829531e83176
+MISC ChangeLog 4404 SHA256 d0b9f484ee97930ffc4f7fc1938d49d493e56d147c3fe7124c9fd205becfa322 SHA512 cb2ef7c59bf57dcba874bc90b79dc361aafd65e3dc0eacba03c9bb01017e78c05418905f060a704af04543191751cf9d2366de339cbd85efeb82a25c71be6444 WHIRLPOOL 8da381ca322ff10e670844cfe820afbd0d337a65b8bed6a55526bdfa66a70c4884b9a4801c8ae38cc0af6d8d55859f7ef56cd7dac8b87e6b3d6ca60427e2e361
+MISC ChangeLog-2015 1006 SHA256 c8e8880d1ee2f52c18f3884e9519391207ff2d0f3d4386c4ec36770069a3efe4 SHA512 4c79659935da51ebc2df40b4248888a64bc7cdbaa80941d496bded84f0cf7d05d707095e07c4083a67687668717aac6d30d12c8536f8ffa9a610d9605c4160eb WHIRLPOOL d48a294bd8dc64cc896990bd7c5458f297d105c6f1dbd7ad164af2e8b01dbc532f8e71b269c828e812399a187ca1e7412921476bee68ac20a8ce7474a252624d
+MISC metadata.xml 337 SHA256 367efb006d009ed2e8c50bf69bc2fdfd316ba1e2685232fb918b70b989cec750 SHA512 94da0a35e480782ff302bee5b75957d202a48835b1b158c9f3c28af08e5c29ddc53129b89c72286776adbc84b37a1fc8516312410c09096d88390d952fa92ff4 WHIRLPOOL c710cf017a812431198e295cbfe2ad06a9ccdb05e09032f1c0535d642a51df9e30a31b2e549628130e807a5d293d09c3e931c8fdb217120563c3e6827fdf6328
diff --git a/dev-db/wxsqlite3/files/wxsqlite3-3.2.1.pc.in b/dev-db/wxsqlite3/files/wxsqlite3-3.2.1.pc.in
new file mode 100644
index 000000000000..112fa14432c3
--- /dev/null
+++ b/dev-db/wxsqlite3/files/wxsqlite3-3.2.1.pc.in
@@ -0,0 +1,14 @@
+# Package Information for pkg-config
+
+prefix=/usr
+wxver=@WXVERSION@
+includedir=${prefix}/include/wx-${wxver}/
+libdir=${prefix}/@LIBDIR@
+
+Name: wxsqlite3-@WXVERSION@
+Description: SQLite3 C++ wrapper for use in programs based on the wxWidgets
+Version: @VERSION@
+#Requires: sqlite3
+Libs: -L${libdir} -lwxcode_gtk2_wxsqlite3-@WXVERSION@
+Libs.private: -lpthread
+Cflags: -I${includedir}
diff --git a/dev-db/wxsqlite3/metadata.xml b/dev-db/wxsqlite3/metadata.xml
new file mode 100644
index 000000000000..9d94ef24a06b
--- /dev/null
+++ b/dev-db/wxsqlite3/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>wxwidgets@gentoo.org</email>
+ <name>Gentoo wxWidgets Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">wxcode</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-db/wxsqlite3/wxsqlite3-3.2.1-r1.ebuild b/dev-db/wxsqlite3/wxsqlite3-3.2.1-r1.ebuild
new file mode 100644
index 000000000000..5287794cfeba
--- /dev/null
+++ b/dev-db/wxsqlite3/wxsqlite3-3.2.1-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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=""
+
+DEPEND="
+ x11-libs/wxGTK:3.0[X]
+ dev-db/sqlite:3"
+RDEPEND="${DEPEND}"
+
+#S="${WORKDIR}/${P%.1}"
+
+src_prepare() {
+ rm -rf sqlite3 || die
+ cp configure30 configure || die
+ sed \
+ -e "s:@WXVERSION@:${WX_GTK_VER}:g" \
+ -e "s:@LIBDIR@:$(get_libdir):g" \
+ -e "s:@VERSION@:${PV}:g" \
+ "${FILESDIR}"/${P}.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/*
+}