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.
gentoo-overlay/app-doc/elisp-manual/elisp-manual-20.2.5.ebuild

37 lines
861 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-doc/elisp-manual/elisp-manual-20.2.5.ebuild,v 1.5 2012/07/29 17:34:55 armin76 Exp $
inherit eutils
MY_P=${PN}-${PV/./-}
DESCRIPTION="The GNU Emacs Lisp Reference Manual"
HOMEPAGE="http://www.gnu.org/software/emacs/manual/"
SRC_URI="ftp://ftp.gnu.org/old-gnu/emacs/${MY_P}.tar.gz
mirror://gentoo/${P}-patches.tar.gz"
LICENSE="Texinfo-manual"
SLOT="20"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
S="${WORKDIR}/${MY_P}"
src_unpack() {
unpack ${A}
cd "${S}"
# remove pre-made info files
rm -f elisp elisp-[0-9]*
EPATCH_SUFFIX=patch epatch
}
src_compile() {
ln -s index.unperm index.texi
makeinfo elisp.texi || die "makeinfo failed"
}
src_install() {
doinfo elisp20.info* || die "doinfo failed"
dodoc README
}