commit c36f1e16fc9d421d7d3d7d4179ed5e1b459ca550 parent 81a4c3905598e664613c132234eb399f2a750839 Author: sin <sin@2f30.org> Date: Tue, 17 Sep 2013 10:34:19 +0100 Add uemacs Diffstat:
A | pkgs/em | | | 20 | ++++++++++++++++++++ |
1 file changed, 20 insertions(+), 0 deletions(-)
diff --git a/pkgs/em b/pkgs/em @@ -0,0 +1,20 @@ +url=git://git.kernel.org/pub/scm/editors/uemacs/uemacs.git + +fetch() { + git clone $url src/em +} + +build() { + mkdir -p $root/share/doc/uemacs + pushd src/em + make clean + sed -i "s@BINDIR=/usr/bin@BINDIR=${root}/bin@;s@LIBDIR=/usr/lib@LIBDIR=${root}/share/doc/uemacs@" Makefile + make -j$nprocs LDFLAGS="-static" + popd +} + +install() { + pushd src/em + make install + popd +}