Commit 90c077b9 authored by Jake Waksbaum's avatar Jake Waksbaum

emacs

parent 0ab30d7f
require 'package'
class Emacs < Package
version '24.4'
source_url 'ftp://ftp.gnu.org/gnu/emacs/emacs-24.4.tar.xz'
source_sha1 '68f9b1f7570a13d076b94c20f2d20fe40782031c'
depends_on "diffutils"
depends_on "m4"
depends_on "autoconf"
depends_on "automake"
def self.build
system "./configure --prefix=/usr/local --without-x --without-makeinfo"
system "sed -i '/static void \\*/{ N; /static void \\*\\naligned_alloc/{ s/static //g}}' src/alloc.c"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment