# Create by Lloyd Huang (Huang YU HSIN) e-mail lloyd@coventive.com # Distributed under the terms of the GNU General Public License v2 DESCRIPTION="TaBE stands for Taiwan and Big5 Encoding. libtabe provides unified interface and library dealing with Chinese words, phrases, sentences, and phonetic symbols. It is intended to be used as the foundation of Chinese text processing." 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" DEPEND="sys-libs/db" RDEPEND="${DEPEND}" S=${WORKDIR}/${PN} src_unpack () { unpack ${A} } src_compile() { ./configure \ --host=${CHOST} \ --prefix=/usr \ --includedir=/usr/include/tabe \ --with-db-lib=/usr/lib \ --with-db-bin=/usr/bin \ --enable-shared || die "./configure failed" make || die } src_install () { make \ prefix=${D}/usr \ includedir=${D}/usr/include/tabe \ install || die # Again, verify the Makefiles! We don't want anything falling # outside of ${D}. }