summaryrefslogtreecommitdiffhomepage
path: root/groups.d/231.native_packages_etc.d/emacs.package
diff options
context:
space:
mode:
authorLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2024-04-24 15:24:48 +0200
committerLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2024-04-24 15:24:48 +0200
commitb2c1ea9526151c4fed9dca8348019d718f489e76 (patch)
tree4d7e65a3553f0c3c4eabec884075a36eb5e56c2b /groups.d/231.native_packages_etc.d/emacs.package
parent4e929dbbad9c3b8d2d88f7a44916f14758d39ee5 (diff)
downloadmidipix_build-b2c1ea9526151c4fed9dca8348019d718f489e76.tar.bz2
midipix_build-b2c1ea9526151c4fed9dca8348019d718f489e76.tar.xz
Implements single package files.
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