Commit cfdbdff2 authored by Casey Strouse's avatar Casey Strouse

Add qemacs (0.3.3) package

QEmacs (for Quick Emacs) is a very small but powerful UNIX editor.

Tested as working properly on Samsung XE50013-K01US.
parent 56502082
require 'package'
class Qemacs < Package
version '0.3.3'
source_url 'http://bellard.org/qemacs/qemacs-0.3.3.tar.gz'
source_sha1 '2a7314610eed09d7c2bef5f1579d774191803bc4'
def self.build
system "sed -i 's,css.h,libqhtml/css.h,' html2png.c"
system "sed -i 's/$(prefix)/$(DESTDIR)$(prefix)/g' Makefile"
system "./configure", \
"--prefix=/usr/local", \
"--disable-x11", \
"--disable-xv", \
"--disable-xrender", \
"--disable-html", \
"--disable-png"
system "make"
end
def self.install
system "mkdir", "-p", "#{CREW_DEST_DIR}/usr/local/bin"
system "mkdir", "-p", "#{CREW_DEST_DIR}/usr/local/share/qe"
system "mkdir", "-p", "#{CREW_DEST_DIR}/usr/local/man/man1"
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