summaryrefslogtreecommitdiff
blob: ba28d7449fc2a07ef0c015ad0ca6c7c5d1b70f5d (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/libtabe/libtabe-0.2.5.ebuild,v 1.13 2005/01/01 14:34:01 eradicator Exp $

inherit eutils

DESCRIPTION="Libtabe provides bimsphone support for xcin-2.5+"
HOMEPAGE="http://libtabe.sourceforge.net/"
SRC_URI="ftp://xcin.linux.org.tw/pub/xcin/libtabe/devel/${P}.tar.gz"

LICENSE="XCIN"
SLOT="0"
KEYWORDS="x86 ppc"
IUSE=""

DEPEND="=sys-libs/db-3*"

S=${WORKDIR}/${PN}

src_unpack() {
	unpack ${A}
	epatch ${FILESDIR}/${P}-db3.patch
}

src_compile() {
	econf \
		--with-db-inc=/usr/include/db3 \
		--with-db-lib=/usr/lib \
		--with-db-bin=/usr/bin \
		--enable-shared || die "econf failed"
	emake -j1 || die " make failed"
}

src_install() {
	einstall || die "install failed"
	dodoc doc/*
}