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.
44 lines
971 B
44 lines
971 B
10 years ago
|
# Copyright 1999-2014 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
# $Header: /var/cvsroot/gentoo-x86/app-emacs/twittering-mode/twittering-mode-3.0.0.ebuild,v 1.1 2014/04/23 10:04:32 naota Exp $
|
||
|
|
||
|
EAPI=4
|
||
|
|
||
|
inherit elisp elisp-common eutils
|
||
|
|
||
|
if [ "${PV}" = "9999" ]; then
|
||
|
EGIT_REPO_URI="git://github.com/hayamiz/twittering-mode.git"
|
||
|
inherit git-2
|
||
|
SRC_URI=""
|
||
|
KEYWORDS=""
|
||
|
IUSE="doc"
|
||
|
else
|
||
|
SRC_URI="mirror://sourceforge/twmode/${P}.tar.gz"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
|
RESTRICT="test"
|
||
|
IUSE=""
|
||
|
fi
|
||
|
|
||
|
DESCRIPTION="Emacs major mode for Twitter."
|
||
|
HOMEPAGE="http://twmode.sourceforge.net/"
|
||
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
|
|
||
|
DEPEND=""
|
||
|
RDEPEND="app-crypt/gnupg"
|
||
|
|
||
|
src_compile() {
|
||
|
elisp-compile twittering-mode.el || die
|
||
|
[ "${PV}" = "9999" ] && use doc && emake -C doc/manual
|
||
|
}
|
||
|
|
||
|
src_test() {
|
||
|
emake check
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
[ "${PV}" = "9999" ] && use doc && dodoc doc/manual/twmode/twmode.html
|
||
|
elisp-install ${PN} twittering-mode.el *.elc || die
|
||
|
}
|