Commit a8776303 authored by lyxell's avatar lyxell Committed by GitHub

Merge pull request #413 from cstrouse/add-qemacs

Add qemacs (0.3.3) package
parents 952e262a cfdbdff2
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