commit:     aff9f5d5693c4c0ce39269a69c30322496a3b109
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 25 14:55:42 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Oct 25 15:03:16 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aff9f5d5

dev-db/wxsqlite3: Fix typo in pc file

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 dev-db/wxsqlite3/files/wxsqlite3-3.2.1.pc.in               | 14 ++++++++++++++
 .../{wxsqlite3-3.2.1.ebuild => wxsqlite3-3.2.1-r1.ebuild}  |  2 +-
 2 files changed, 15 insertions(+), 1 deletion(-)

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 0000000..c2e0e51
--- /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@WXDEBUG@_wxsqlite3-@WXVERSION@
+Libs.private: -lpthread
+Cflags: -I${includedir}

diff --git a/dev-db/wxsqlite3/wxsqlite3-3.2.1.ebuild 
b/dev-db/wxsqlite3/wxsqlite3-3.2.1-r1.ebuild
similarity index 95%
rename from dev-db/wxsqlite3/wxsqlite3-3.2.1.ebuild
rename to dev-db/wxsqlite3/wxsqlite3-3.2.1-r1.ebuild
index af7c565..5907456 100644
--- a/dev-db/wxsqlite3/wxsqlite3-3.2.1.ebuild
+++ b/dev-db/wxsqlite3/wxsqlite3-3.2.1-r1.ebuild
@@ -35,7 +35,7 @@ src_prepare() {
                -e "s:@WXVERSION@:${WX_GTK_VER}:g" \
                -e "s:@LIBDIR@:$(get_libdir):g" \
                -e "s:@VERSION@:${PV}:g" \
-               "${FILESDIR}"/${PN}-3.0.6.1.pc.in > ${PN}.pc || die
+               "${FILESDIR}"/${P}.pc.in > ${PN}.pc || die
 }
 
 src_configure() {

Reply via email to