summaryrefslogtreecommitdiffhomepage
path: root/groups.d/231.native_packages_etc.d/emacs.package
diff options
context:
space:
mode:
Diffstat (limited to 'groups.d/231.native_packages_etc.d/emacs.package')
-rw-r--r--groups.d/231.native_packages_etc.d/emacs.package11
1 files changed, 11 insertions, 0 deletions
diff --git a/groups.d/231.native_packages_etc.d/emacs.package b/groups.d/231.native_packages_etc.d/emacs.package
new file mode 100644
index 00000000..1fe46664
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/emacs.package
@@ -0,0 +1,11 @@
+: ${PKG_EMACS_DEPENDS:="freetype gnutls libjpeg_turbo libz ncurses"};
+: ${PKG_EMACS_SHA256SUM:=1cf4fc240cd77c25309d15e18593789c8dbfba5c2b44d8f77c886542300fd32c};
+: ${PKG_EMACS_VERSION:=26.1};
+: ${PKG_EMACS_URL:=http://www.gutscheinrausch.de/mirror/gnu/emacs/emacs-${PKG_EMACS_VERSION}.tar.xz};
+: ${PKG_EMACS_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/freetype2 -O1 -g2"};
+: ${PKG_EMACS_CONFIGURE_ARGS_EXTRA:="--with-modules --with-sound=no --with-x-toolkit=no --without-dbus --without-x --without-mailutils --without-pop"};
+: ${PKG_EMACS_ENV_VARS_EXTRA:="BUILDCC=gcc"};
+
+ex_pkg_register "emacs" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0