summaryrefslogtreecommitdiff
path: root/dev-db/wxsqlite3/wxsqlite3-4.10.6-r1.ebuild
blob: 26cc0f15b65ae26c82b5f2fd09f260b07dec220f (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
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

WX_GTK_VER="3.2-gtk3"
inherit autotools wxwidgets

DESCRIPTION="C++ wrapper around the public domain SQLite 3.x database"
HOMEPAGE="http://wxcode.sourceforge.net/components/wxsqlite3/"
SRC_URI="https://github.com/utelle/wxsqlite3/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="wxWinLL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"

RDEPEND="
	x11-libs/wxGTK:${WX_GTK_VER}=[X]
	dev-db/sqlite:3="
DEPEND="${RDEPEND}"

src_prepare() {
	default
	eautoreconf
}

src_configure() {
	setup-wxwidgets

	econf --with-wx-config="${WX_CONFIG}"
}

src_install() {
	default
	dodoc readme.md

	find "${ED}" -type f -name '*.la' -delete || die
}