You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
963 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/riece/riece-6.1.0.ebuild,v 1.7 2012/09/30 18:07:22 armin76 Exp $
inherit elisp
DESCRIPTION="A redesign of Liece IRC client"
HOMEPAGE="http://www.nongnu.org/riece/"
SRC_URI="http://download.savannah.gnu.org/releases/riece/${P}.tar.gz"
LICENSE="GPL-3 FDL-1.1"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86"
IUSE="linguas_ja"
RESTRICT="test"
SITEFILE="50${PN}-gentoo.el"
src_compile() {
econf --with-lispdir="${SITELISP}"
emake || die "emake failed"
}
src_install () {
einstall lispdir="${D}/${SITELISP}" || die "einstall failed"
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
dodoc AUTHORS NEWS README doc/HACKING lisp/ChangeLog* || die "dodoc failed"
if use linguas_ja; then
dodoc NEWS.ja README.ja doc/HACKING.ja || die "dodoc failed"
else
rm -f "${D}"/usr/share/info/riece-ja.info*
fi
}