/[gentoo-x86]/dev-db/sqlitebrowser/sqlitebrowser-1.3.ebuild
Gentoo

Contents of /dev-db/sqlitebrowser/sqlitebrowser-1.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Thu Dec 31 15:19:51 2009 UTC (10 years, 6 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Version bump, drop Qt3 version
(Portage version: 2.2_rc61/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-db/sqlitebrowser/sqlitebrowser-1.3.ebuild,v 1.7 2009/08/06 11:25:40 ssuominen Exp $
4
5 EAPI=1
6
7 inherit eutils qt3
8
9 DESCRIPTION="SQLite Database Browser"
10 HOMEPAGE="http://sqlitebrowser.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/sqlitebrowser/${P}-src.tar.gz"
12
13 LICENSE="public-domain"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE=""
17
18 RDEPEND="=dev-db/sqlite-3*
19 x11-libs/qt:3"
20 DEPEND="${RDEPEND}"
21
22 S=${WORKDIR}/${PN}/${PN}
23
24 src_unpack() {
25 unpack ${A}
26 cd "${S}"
27 rm -r sqlite_source
28
29 sed -i -e 's/\r/\n/g' *.{cpp,h} || die "sed failed"
30
31 epatch "${FILESDIR}"/${P}-glibc-2.10.patch
32 epatch "${FILESDIR}"/${P}-externalsqlite.patch
33 # Don't use internal sqlite3 function wrt #227215
34 epatch "${FILESDIR}"/${P}-sqlite-deprecated.patch
35 }
36
37 src_compile() {
38 eqmake3
39 emake || die "emake failed"
40 }
41
42 src_install() {
43 dobin sqlitebrowser || die "dobin failed"
44 }

  ViewVC Help
Powered by ViewVC 1.1.20