diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-db/wxsqlite3/wxsqlite3-3.2.1-r1.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-db/wxsqlite3/wxsqlite3-3.2.1-r1.ebuild')
-rw-r--r-- | dev-db/wxsqlite3/wxsqlite3-3.2.1-r1.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
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/* +} |