Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/wxsqlite3: wxsqlite3-3.0.6.1-r1.ebuild ChangeLog wxsqlite3-3.0.6.1.ebuild
Date: Sat, 28 Dec 2013 22:30:03
Message-Id: 20131228222959.6347A2004E@flycatcher.gentoo.org
1 jlec 13/12/28 22:29:59
2
3 Modified: ChangeLog
4 Added: wxsqlite3-3.0.6.1-r1.ebuild
5 Removed: wxsqlite3-3.0.6.1.ebuild
6 Log:
7 dev-db/wxsqlite3: Fix pc file
8
9 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
10
11 Revision Changes Path
12 1.3 dev-db/wxsqlite3/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/wxsqlite3/ChangeLog?rev=1.3&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/wxsqlite3/ChangeLog?rev=1.3&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/wxsqlite3/ChangeLog?r1=1.2&r2=1.3
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-db/wxsqlite3/ChangeLog,v
21 retrieving revision 1.2
22 retrieving revision 1.3
23 diff -u -r1.2 -r1.3
24 --- ChangeLog 28 Dec 2013 21:25:23 -0000 1.2
25 +++ ChangeLog 28 Dec 2013 22:29:59 -0000 1.3
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-db/wxsqlite3
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-db/wxsqlite3/ChangeLog,v 1.2 2013/12/28 21:25:23 jlec Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-db/wxsqlite3/ChangeLog,v 1.3 2013/12/28 22:29:59 jlec Exp $
31 +
32 +*wxsqlite3-3.0.6.1-r1 (28 Dec 2013)
33 +
34 + 28 Dec 2013; Justin Lecher <jlec@g.o> -wxsqlite3-3.0.6.1.ebuild,
35 + +wxsqlite3-3.0.6.1-r1.ebuild, files/wxsqlite3-3.0.6.1.pc.in:
36 + Fix pc file
37
38 28 Dec 2013; Justin Lecher <jlec@g.o> wxsqlite3-3.0.6.1.ebuild:
39 Fix pkgconfig file installation
40
41
42
43 1.1 dev-db/wxsqlite3/wxsqlite3-3.0.6.1-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/wxsqlite3/wxsqlite3-3.0.6.1-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/wxsqlite3/wxsqlite3-3.0.6.1-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: wxsqlite3-3.0.6.1-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2013 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-db/wxsqlite3/wxsqlite3-3.0.6.1-r1.ebuild,v 1.1 2013/12/28 22:29:58 jlec Exp $
53
54 EAPI=5
55
56 WX_GTK_VER="2.8"
57
58 inherit eutils multilib wxwidgets
59
60 DESCRIPTION="C++ wrapper around the public domain SQLite 3.x database"
61 HOMEPAGE="http://wxcode.sourceforge.net/components/wxsqlite3/"
62 SRC_URI="mirror://sourceforge/wxcode/${P}.tar.gz"
63
64 LICENSE="wxWinLL-3"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67 IUSE="unicode"
68
69 DEPEND="
70 x11-libs/wxGTK:2.8[X]
71 dev-db/sqlite:3"
72 RDEPEND="${DEPEND}"
73
74 S="${WORKDIR}/${P%.1}"
75
76 src_prepare() {
77 rm -rf sqlite3 || die
78 cp configure28 configure || die
79 sed \
80 -e "s:@WXVERSION@:${WX_GTK_VER}:g" \
81 -e "s:@LIBDIR@:$(get_libdir):g" \
82 -e "s:@VERSION@:${PV}:g" \
83 "${FILESDIR}"/${P}.pc.in > ${PN}.pc || die
84 }
85
86 src_configure() {
87 econf \
88 $(use_enable unicode) \
89 --enable-shared \
90 --with-wx-config="${WX_CONFIG}" \
91 --with-wxshared \
92 --with-sqlite3-prefix="${PREFIX}/usr"
93 }
94
95 src_install() {
96 default
97
98 insinto /usr/$(get_libdir)/pkgconfig
99 doins ${PN}.pc
100
101 dodoc Readme.txt
102 dohtml -r docs/html/*
103 docinto samples
104 dodoc -r samples/*
105 }