/[gentoo-x86]/app-emacs/magit/magit-1.2.0-r1.ebuild
Gentoo

Contents of /app-emacs/magit/magit-1.2.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Aug 9 10:42:50 2014 UTC (4 years, 4 months ago) by nimiux
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Stable for amd64 wrt bug #509736

(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key D628E536)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-emacs/magit/magit-1.2.0-r1.ebuild,v 1.2 2014/07/27 11:19:18 phajdan.jr Exp $
4
5 EAPI=5
6
7 inherit elisp
8
9 DESCRIPTION="An Emacs mode for GIT"
10 HOMEPAGE="http://magit.github.io/"
11 SRC_URI="http://github.com/downloads/magit/magit/${P}.tar.gz"
12
13 LICENSE="GPL-3+ FDL-1.2+"
14 SLOT="0"
15 KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
16 IUSE="contrib"
17
18 ELISP_PATCHES="${P}-delete-directory.patch"
19 SITEFILE="50${PN}-gentoo.el"
20
21 RESTRICT="test"
22
23 src_compile() {
24 # The upstream build system ignores errors during byte-compilation
25 # and happily installs broken files, causing errors at runtime.
26 # Call elisp-compile, in order to catch them here already.
27 elisp-compile *.el
28 emake core docs
29 use contrib && emake contrib
30 rm 50magit.el magit-pkg.el || die
31 }
32
33 src_install() {
34 elisp-install ${PN} *.{el,elc} || die
35 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
36 doinfo magit.info
37 dodoc README.md
38
39 if use contrib; then
40 elisp-install ${PN} contrib/*.{el,elc} || die
41 dobin contrib/magit
42 fi
43 }

  ViewVC Help
Powered by ViewVC 1.1.20