From: | "Ulrich Mueller (ulm)" <ulm@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-emacs/emacs-daemon: metadata.xml ChangeLog emacs-daemon-0.7.ebuild |
Date: | Sun, 30 Nov 2008 10:43:41 |
Message-Id: | E1L6jm7-0000ku-CQ@stork.gentoo.org |
1 | ulm 08/11/30 10:43:39 |
2 | |
3 | Added: metadata.xml ChangeLog emacs-daemon-0.7.ebuild |
4 | Log: |
5 | Initial import. |
6 | (Portage version: 2.2_rc16/cvs/Linux 2.6.27-gentoo-r4 i686) |
7 | |
8 | Revision Changes Path |
9 | 1.1 app-emacs/emacs-daemon/metadata.xml |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emacs/emacs-daemon/metadata.xml?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emacs/emacs-daemon/metadata.xml?rev=1.1&content-type=text/plain |
13 | |
14 | Index: metadata.xml |
15 | =================================================================== |
16 | <?xml version="1.0" encoding="UTF-8"?> |
17 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
18 | <pkgmetadata> |
19 | <herd>emacs</herd> |
20 | </pkgmetadata> |
21 | |
22 | |
23 | |
24 | 1.1 app-emacs/emacs-daemon/ChangeLog |
25 | |
26 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emacs/emacs-daemon/ChangeLog?rev=1.1&view=markup |
27 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emacs/emacs-daemon/ChangeLog?rev=1.1&content-type=text/plain |
28 | |
29 | Index: ChangeLog |
30 | =================================================================== |
31 | # ChangeLog for app-emacs/emacs-daemon |
32 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
33 | # $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-daemon/ChangeLog,v 1.1 2008/11/30 10:43:39 ulm Exp $ |
34 | |
35 | *emacs-daemon-0.7 (30 Nov 2008) |
36 | |
37 | 30 Nov 2008; Ulrich Mueller <ulm@g.o> +metadata.xml, |
38 | +emacs-daemon-0.7.ebuild: |
39 | Initial import. Ebuild contributed by me. |
40 | |
41 | |
42 | |
43 | |
44 | 1.1 app-emacs/emacs-daemon/emacs-daemon-0.7.ebuild |
45 | |
46 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emacs/emacs-daemon/emacs-daemon-0.7.ebuild?rev=1.1&view=markup |
47 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emacs/emacs-daemon/emacs-daemon-0.7.ebuild?rev=1.1&content-type=text/plain |
48 | |
49 | Index: emacs-daemon-0.7.ebuild |
50 | =================================================================== |
51 | # Copyright 1999-2008 Gentoo Foundation |
52 | # Distributed under the terms of the GNU General Public License v2 |
53 | # $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-daemon/emacs-daemon-0.7.ebuild,v 1.1 2008/11/30 10:43:39 ulm Exp $ |
54 | |
55 | inherit elisp |
56 | |
57 | DESCRIPTION="Gentoo support for Emacs running as a server in the background" |
58 | HOMEPAGE="http://www.gentoo.org/proj/en/lisp/emacs/" |
59 | SRC_URI="mirror://gentoo/${P}.tar.bz2" |
60 | |
61 | LICENSE="GPL-2" |
62 | SLOT="0" |
63 | KEYWORDS="~amd64 ~x86" |
64 | IUSE="" |
65 | |
66 | DEPEND=">=virtual/emacs-23" |
67 | RDEPEND="${DEPEND} |
68 | >=sys-apps/openrc-0.3.0-r1" |
69 | |
70 | SITEFILE="10${PN}-gentoo.el" |
71 | |
72 | pkg_setup() { |
73 | local has_daemon=$(${EMACS} ${EMACSFLAGS} \ |
74 | --eval "(princ (fboundp 'daemonp))") |
75 | if [ "${has_daemon}" != t ]; then |
76 | ewarn "Your current Emacs version does not support running as a daemon" |
77 | ewarn "which is required for ${CATEGORY}/${PN}." |
78 | ewarn "Use \"eselect emacs\" to select an Emacs version >= 23." |
79 | fi |
80 | } |
81 | |
82 | src_compile() { :; } |
83 | |
84 | src_install() { |
85 | newinitd emacs.rc emacs || die |
86 | newconfd emacs.conf emacs || die |
87 | exeinto /usr/libexec/emacs |
88 | doexe emacs-wrapper.sh || die |
89 | elisp-site-file-install "${SITEFILE}" || die |
90 | keepdir /var/run/emacs || die |
91 | } |