Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 219348 | Differences between
and this patch

Collapse All | Expand All

(-)libtabe-0.2.5.ebuild (-17 / +32 lines)
Lines 1-37 Link Here
1
# Copyright 1999-2005 Gentoo Foundation
1
# Copyright 1999-2005 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/app-i18n/libtabe/libtabe-0.2.5.ebuild,v 1.13 2005/01/01 14:34:01 eradicator Exp $
3
# $Header: /var/cvsroot/gentoo-x86/app-i18n/libtabe/libtabe-0.2.5.ebuild,v 1.13 2005/01/01 14:34:01 eradicator Exp $
4
4
5
inherit eutils
5
inherit eutils libtool autotools multilib
6
6
7
DESCRIPTION="Libtabe provides bimsphone support for xcin-2.5+"
7
DESCRIPTION="Libtabe provides bimsphone support for xcin-2.5+"
8
HOMEPAGE="http://libtabe.sourceforge.net/"
8
HOMEPAGE="http://packages.qa.debian.org/libt/libtabe.html"
9
SRC_URI="ftp://xcin.linux.org.tw/pub/xcin/libtabe/devel/${P}.tar.gz"
9
SRC_URI="mirror://debian/pool/main/libt/libtabe/${P/-/_}.orig.tar.gz
10
	mirror://debian/pool/main/libt/libtabe/${P/-/_}-1.1.diff.gz"
10
11
11
LICENSE="XCIN"
12
LICENSE="BSD"
12
SLOT="0"
13
SLOT="0"
13
KEYWORDS="x86 ppc"
14
KEYWORDS="~x86 ~ppc"
14
IUSE=""
15
IUSE="debug"
16
DEPEND=">=sys-libs/db-4.5
17
	x11-libs/libX11"
18
RDEPEND="${DEPEND}"
15
19
16
DEPEND="=sys-libs/db-3*"
20
S="${WORKDIR}/${P}.orig"
17
18
S=${WORKDIR}/${PN}
19
21
20
src_unpack() {
22
src_unpack() {
21
	unpack ${A}
23
	unpack ${A}
22
	epatch ${FILESDIR}/${P}-db3.patch
24
	cd "${S}"
25
	epatch "${WORKDIR}/${P/-/_}-1.1.diff"
26
	epatch "${FILESDIR}/${P}-qa.patch"
27
	rm -f configure
28
	elibtoolize
29
	cd script
30
	eautoreconf
31
	cp script/* ./
32
	cp configure ../
33
	cd ..
23
}
34
}
24
35
25
src_compile() {
36
src_compile() {
26
	econf \
37
	myconf="--with-db-inc=/usr/include
27
		--with-db-inc=/usr/include/db3 \
38
		--with-db-lib=/usr/$(get_libdir)
28
		--with-db-lib=/usr/lib \
39
		--with-db-bin=/usr/bin
29
		--with-db-bin=/usr/bin \
40
		--with-db-name=db
30
		--enable-shared || die "econf failed"
41
		--enable-shared
31
	emake -j1 || die " make failed"
42
		--disable-static
43
		$(use_enable debug)"
44
45
	econf ${myconf}	|| die "econf failed"
46
	emake -j1 || die "make failed"
32
}
47
}
33
48
34
src_install() {
49
src_install() {
35
	einstall || die "install failed"
50
	emake DESTDIR="${D}" install||die "Install failed"
36
	dodoc doc/*
51
	dodoc doc/*
37
}
52
}

Return to bug 219348