|
|
# Copyright 1999-2005 Gentoo Foundation | # Copyright 1999-2005 Gentoo Foundation |
# Distributed under the terms of the GNU General Public License v2 | # 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 $ | # $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 |
inherit eutils libtool autotools multilib |
| |
DESCRIPTION="Libtabe provides bimsphone support for xcin-2.5+" | DESCRIPTION="Libtabe provides bimsphone support for xcin-2.5+" |
HOMEPAGE="http://libtabe.sourceforge.net/" |
HOMEPAGE="http://packages.qa.debian.org/libt/libtabe.html" |
SRC_URI="ftp://xcin.linux.org.tw/pub/xcin/libtabe/devel/${P}.tar.gz" |
SRC_URI="mirror://debian/pool/main/libt/libtabe/${P/-/_}.orig.tar.gz |
|
mirror://debian/pool/main/libt/libtabe/${P/-/_}-1.1.diff.gz" |
| |
LICENSE="XCIN" |
LICENSE="BSD" |
SLOT="0" | SLOT="0" |
KEYWORDS="x86 ppc" |
KEYWORDS="~x86 ~ppc" |
IUSE="" |
IUSE="debug" |
|
DEPEND=">=sys-libs/db-4.5 |
|
x11-libs/libX11" |
|
RDEPEND="${DEPEND}" |
| |
DEPEND="=sys-libs/db-3*" |
S="${WORKDIR}/${P}.orig" |
|
|
S=${WORKDIR}/${PN} |
|
| |
src_unpack() { | src_unpack() { |
unpack ${A} | unpack ${A} |
epatch ${FILESDIR}/${P}-db3.patch |
cd "${S}" |
|
epatch "${WORKDIR}/${P/-/_}-1.1.diff" |
|
epatch "${FILESDIR}/${P}-qa.patch" |
|
rm -f configure |
|
elibtoolize |
|
cd script |
|
eautoreconf |
|
cp script/* ./ |
|
cp configure ../ |
|
cd .. |
} | } |
| |
src_compile() { | src_compile() { |
econf \ |
myconf="--with-db-inc=/usr/include |
--with-db-inc=/usr/include/db3 \ |
--with-db-lib=/usr/$(get_libdir) |
--with-db-lib=/usr/lib \ |
--with-db-bin=/usr/bin |
--with-db-bin=/usr/bin \ |
--with-db-name=db |
--enable-shared || die "econf failed" |
--enable-shared |
emake -j1 || die " make failed" |
--disable-static |
|
$(use_enable debug)" |
|
|
|
econf ${myconf} || die "econf failed" |
|
emake -j1 || die "make failed" |
} | } |
| |
src_install() { | src_install() { |
einstall || die "install failed" |
emake DESTDIR="${D}" install||die "Install failed" |
dodoc doc/* | dodoc doc/* |
} | } |