Files
gentoo-zh/dev-libs/libchewing/libchewing-0.3.0.ebuild
T

25 lines
544 B
Bash

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit flag-o-matic eutils
IUSE=""
DESCRIPTION="Library for Chinese Phonetic input method"
HOMEPAGE="http://chewing.csie.net/"
SRC_URI="http://chewing.csie.net/download/libchewing/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ~amd64"
DEPEND="virtual/libc"
src_compile() {
econf || die "./configure failed"
emake -j1 || die "make failed"
}
src_install() {
make install DESTDIR="${D}" || die "install failed"
}