diff options
author | Ulrich Müller <ulm@gentoo.org> | 2008-04-21 11:22:45 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2008-04-21 11:22:45 +0000 |
commit | 62873fcf4650bb2d45d1fb67e0422b9e60f61717 (patch) | |
tree | e607d2fa2393671d995e76097fa391c3ecdb52ff /app-emacs | |
parent | Cleanup ebuild, metadata. (diff) | |
download | gentoo-2-62873fcf4650bb2d45d1fb67e0422b9e60f61717.tar.gz gentoo-2-62873fcf4650bb2d45d1fb67e0422b9e60f61717.tar.bz2 gentoo-2-62873fcf4650bb2d45d1fb67e0422b9e60f61717.zip |
Version bump. Correct name of pkg_postinst function.
(Portage version: 2.1.5_rc5)
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/easypg/ChangeLog | 8 | ||||
-rw-r--r-- | app-emacs/easypg/easypg-0.0.15.ebuild | 8 | ||||
-rw-r--r-- | app-emacs/easypg/easypg-0.0.16.ebuild | 62 |
3 files changed, 73 insertions, 5 deletions
diff --git a/app-emacs/easypg/ChangeLog b/app-emacs/easypg/ChangeLog index 1692ee29208b..da390c7df705 100644 --- a/app-emacs/easypg/ChangeLog +++ b/app-emacs/easypg/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-emacs/easypg # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/easypg/ChangeLog,v 1.6 2008/01/23 08:55:48 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/easypg/ChangeLog,v 1.7 2008/04/21 11:22:45 ulm Exp $ + +*easypg-0.0.16 (21 Apr 2008) + + 21 Apr 2008; Ulrich Mueller <ulm@gentoo.org> easypg-0.0.15.ebuild, + +easypg-0.0.16.ebuild: + Version bump. Correct name of pkg_postinst function. 23 Jan 2008; Christian Faulhammer <opfer@gentoo.org> easypg-0.0.15.ebuild: stable x86/amd64 diff --git a/app-emacs/easypg/easypg-0.0.15.ebuild b/app-emacs/easypg/easypg-0.0.15.ebuild index f631ef5230a7..54787d5e37ef 100644 --- a/app-emacs/easypg/easypg-0.0.15.ebuild +++ b/app-emacs/easypg/easypg-0.0.15.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/easypg/easypg-0.0.15.ebuild,v 1.2 2008/01/23 08:55:48 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/easypg/easypg-0.0.15.ebuild,v 1.3 2008/04/21 11:22:45 ulm Exp $ inherit elisp versionator @@ -11,7 +11,7 @@ HOMEPAGE="http://www.easypg.org/" SRC_URI="mirror://sourceforge.jp/epg/27030/${MY_PN}-${PV}.tar.gz gnus? ( mirror://sourceforge.jp/epg/25608/pgg-${MY_PN}.el )" -LICENSE="GPL-2" +LICENSE="GPL-2 FDL-1.1" SLOT="0" KEYWORDS="amd64 x86" IUSE="gnus" @@ -53,10 +53,10 @@ src_install() { dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed" } -elisp_pkg_postinst() { +pkg_postinst() { + elisp-site-regen elog "See the epa info page for more information" if use gnus; then elog "To use, add (setq pgg-scheme 'epg) to your ~/.gnus" fi - elisp-site-regen } diff --git a/app-emacs/easypg/easypg-0.0.16.ebuild b/app-emacs/easypg/easypg-0.0.16.ebuild new file mode 100644 index 000000000000..0037ef79fa0c --- /dev/null +++ b/app-emacs/easypg/easypg-0.0.16.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/easypg/easypg-0.0.16.ebuild,v 1.1 2008/04/21 11:22:45 ulm Exp $ + +inherit elisp versionator + +MY_PN=epg + +DESCRIPTION="GnuPG interface for Emacs" +HOMEPAGE="http://www.easypg.org/" +SRC_URI="mirror://sourceforge.jp/epg/29289/${MY_PN}-${PV}.tar.gz + gnus? ( mirror://sourceforge.jp/epg/25608/pgg-${MY_PN}.el )" + +LICENSE="GPL-2 FDL-1.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gnus" + +DEPEND="app-crypt/gnupg" +RDEPEND="${DEPEND} + gnus? ( virtual/gnus )" + +SITEFILE=50${PN}-gentoo.el + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_unpack() { + unpack ${A} + use gnus && cp "${DISTDIR}/pgg-epg.el" "${S}" +} + +src_compile() { + econf || die "econf failed" + emake || die "emake failed" + elisp-make-autoload-file \ + || die "elisp-make-autoload-file failed" + + if use gnus && version_is_at_least 22 "$(elisp-emacs-version)"; then + # pgg-epg requires pgg, it will not compile with Emacs 21 + # it also requires epa, so we must use elisp-comp here + elisp-comp pgg-epg.el || die "elisp-comp failed" + fi +} + +src_install() { + einstall || die "einstall failed" + + elisp-install ${MY_PN} ${PN}-autoloads.el + elisp-site-file-install "${FILESDIR}/${SITEFILE}" ${MY_PN} + if use gnus; then + elisp-install ${MY_PN} pgg-epg.el* + fi + dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed" +} + +pkg_postinst() { + elisp-site-regen + elog "See the epa info page for more information" + if use gnus; then + elog "To use, add (setq pgg-scheme 'epg) to your ~/.gnus" + fi +} |