summaryrefslogtreecommitdiff
blob: 5c07aa4963517c0c20c73056d38da26440be3b61 (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
39
40
41
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit wxwidgets

DESCRIPTION="query multiple search engines at the same time"
HOMEPAGE="http://olivier.coupelon.free.fr/teardrop/"
SRC_URI="http://olivier.coupelon.free.fr/${PN}/download/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="unicode"

DEPEND="virtual/libiconv
	dev-libs/libxml2
	net-misc/curl
	dev-libs/libpcre
	sys-libs/glibc
	>=x11-libs/wxGTK-2.6"
RDEPEND=${DEPEND}

src_compile() {
	export WX_GTK_VER=2.6
	if use unicode; then
		need-wxwidgets unicode || die
	else
		need-wxwidgets gtk2 || die
	fi

	econf \
		--with-wx-config="${WX_CONFIG}" \
		|| die "econf failed"

	emake || die "emake failed"
}

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed"
}