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

Contents of /app-emacs/magit/magit-1.2.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed May 20 21:09:32 2015 UTC (3 years, 4 months ago) by zlogene
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
amd64/x86 stable wrt bug #549892

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0xC42EB5D6)

1 # Copyright 1999-2015 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.2.ebuild,v 1.1 2015/03/25 10:58:24 ulm 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="https://github.com/magit/magit/releases/download/${PV}/${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 RESTRICT="test"
18
19 SITEFILE="50${PN}-gentoo.el"
20
21 src_compile() {
22 # The upstream build system ignores errors during byte-compilation
23 # and happily installs broken files, causing errors at runtime.
24 # Call elisp-compile, in order to catch them here already.
25 elisp-compile *.el
26 emake core docs
27 use contrib && emake contrib
28 rm 50magit.el magit-pkg.el || die
29 }
30
31 src_install() {
32 elisp-install ${PN} *.{el,elc}
33 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
34 doinfo magit.info
35 dodoc README.md
36
37 if use contrib; then
38 elisp-install ${PN} contrib/*.{el,elc}
39 dobin contrib/magit
40 fi
41 }

  ViewVC Help
Powered by ViewVC 1.1.20