blob: 16afaa06e906fc410d6d4ec056d224e15eb2b92d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/wxsqlite3/wxsqlite3-3.0.6.1.ebuild,v 1.1 2013/12/28 21:14:11 jlec Exp $
EAPI=5
WX_GTK_VER="2.8"
inherit eutils 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="unicode"
DEPEND="
x11-libs/wxGTK:2.8[X]
dev-db/sqlite:3"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${P%.1}"
src_prepare() {
rm -rf sqlite3 || die
cp configure28 configure || die
cat "${FILESDIR}"/${P}.pc.in > ${PN}.pc.in || die
}
src_configure() {
econf \
$(use_enable unicode) \
--enable-shared \
--with-wx-config="${WX_CONFIG}" \
--with-wxshared \
--with-sqlite3-prefix="${PREFIX}/usr"
}
src_install() {
default
dodoc Readme.txt
dohtml -r docs/html/*
docinto samples
dodoc -r samples/*
}
|