From a33ce22f1bea7ad557fcef3f676d00901a2e6d56 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ulrich=20M=C3=BCller?= Date: Fri, 18 Oct 2019 20:05:15 +0200 Subject: [PATCH] app-emacs/matlab: Generate autoload file. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/698006 Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: Ulrich Müller --- app-emacs/matlab/files/50matlab-gentoo-3.3.6.el | 2 ++ ...e20191010.ebuild => matlab-3.3.6_pre20191010-r1.ebuild} | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 app-emacs/matlab/files/50matlab-gentoo-3.3.6.el rename app-emacs/matlab/{matlab-3.3.6_pre20191010.ebuild => matlab-3.3.6_pre20191010-r1.ebuild} (79%) diff --git a/app-emacs/matlab/files/50matlab-gentoo-3.3.6.el b/app-emacs/matlab/files/50matlab-gentoo-3.3.6.el new file mode 100644 index 000000000000..499ac3d66b2a --- /dev/null +++ b/app-emacs/matlab/files/50matlab-gentoo-3.3.6.el @@ -0,0 +1,2 @@ +(add-to-list 'load-path "@SITELISP@") +(load "matlab-load" nil t) diff --git a/app-emacs/matlab/matlab-3.3.6_pre20191010.ebuild b/app-emacs/matlab/matlab-3.3.6_pre20191010-r1.ebuild similarity index 79% rename from app-emacs/matlab/matlab-3.3.6_pre20191010.ebuild rename to app-emacs/matlab/matlab-3.3.6_pre20191010-r1.ebuild index 42573b3e47ca..33487fa8e1bb 100644 --- a/app-emacs/matlab/matlab-3.3.6_pre20191010.ebuild +++ b/app-emacs/matlab/matlab-3.3.6_pre20191010-r1.ebuild @@ -14,5 +14,10 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-macos" S="${WORKDIR}/matlab-emacs-src" -SITEFILE="50${PN}-gentoo.el" +SITEFILE="50${PN}-gentoo-3.3.6.el" DOCS="README.org INSTALL ChangeLog*" + +src_compile() { + elisp-compile *.el + elisp-make-autoload-file matlab-load.el +} -- 2.26.2