Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/wxsqlite3/files/, dev-db/wxsqlite3/
Date: Sun, 25 Oct 2015 15:03:27
Message-Id: 1445785396.aff9f5d5693c4c0ce39269a69c30322496a3b109.jlec@gentoo
1 commit: aff9f5d5693c4c0ce39269a69c30322496a3b109
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 25 14:55:42 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 25 15:03:16 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aff9f5d5
7
8 dev-db/wxsqlite3: Fix typo in pc file
9
10 Package-Manager: portage-2.2.23
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 dev-db/wxsqlite3/files/wxsqlite3-3.2.1.pc.in | 14 ++++++++++++++
14 .../{wxsqlite3-3.2.1.ebuild => wxsqlite3-3.2.1-r1.ebuild} | 2 +-
15 2 files changed, 15 insertions(+), 1 deletion(-)
16
17 diff --git a/dev-db/wxsqlite3/files/wxsqlite3-3.2.1.pc.in b/dev-db/wxsqlite3/files/wxsqlite3-3.2.1.pc.in
18 new file mode 100644
19 index 0000000..c2e0e51
20 --- /dev/null
21 +++ b/dev-db/wxsqlite3/files/wxsqlite3-3.2.1.pc.in
22 @@ -0,0 +1,14 @@
23 +# Package Information for pkg-config
24 +
25 +prefix=/usr
26 +wxver=@WXVERSION@
27 +includedir=${prefix}/include/wx-${wxver}/
28 +libdir=${prefix}/@LIBDIR@
29 +
30 +Name: wxsqlite3-@WXVERSION@
31 +Description: SQLite3 C++ wrapper for use in programs based on the wxWidgets
32 +Version: @VERSION@
33 +#Requires: sqlite3
34 +Libs: -L${libdir} -lwxcode_gtk2@WXDEBUG@_wxsqlite3-@WXVERSION@
35 +Libs.private: -lpthread
36 +Cflags: -I${includedir}
37
38 diff --git a/dev-db/wxsqlite3/wxsqlite3-3.2.1.ebuild b/dev-db/wxsqlite3/wxsqlite3-3.2.1-r1.ebuild
39 similarity index 95%
40 rename from dev-db/wxsqlite3/wxsqlite3-3.2.1.ebuild
41 rename to dev-db/wxsqlite3/wxsqlite3-3.2.1-r1.ebuild
42 index af7c565..5907456 100644
43 --- a/dev-db/wxsqlite3/wxsqlite3-3.2.1.ebuild
44 +++ b/dev-db/wxsqlite3/wxsqlite3-3.2.1-r1.ebuild
45 @@ -35,7 +35,7 @@ src_prepare() {
46 -e "s:@WXVERSION@:${WX_GTK_VER}:g" \
47 -e "s:@LIBDIR@:$(get_libdir):g" \
48 -e "s:@VERSION@:${PV}:g" \
49 - "${FILESDIR}"/${PN}-3.0.6.1.pc.in > ${PN}.pc || die
50 + "${FILESDIR}"/${P}.pc.in > ${PN}.pc || die
51 }
52
53 src_configure() {