Commit 457ed1f8 authored by Yoav Shai's avatar Yoav Shai

Fixed configure and manpage compression

parent 01f2d13a
...@@ -3,28 +3,20 @@ require 'package' ...@@ -3,28 +3,20 @@ require 'package'
class Wol < Package class Wol < Package
description 'Wake up hardware that is Magic Packet compliant' description 'Wake up hardware that is Magic Packet compliant'
homepage 'http://ahh.sourceforge.net/wol/' homepage 'http://ahh.sourceforge.net/wol/'
version '0.7.1-r1' version '0.7.1'
source_url 'https://downloads.sourceforge.net/ahh/wol-0.7.1.tar.gz' source_url 'https://downloads.sourceforge.net/ahh/wol-0.7.1.tar.gz'
source_sha256 'e0086c9b9811df2bdf763ec9016dfb1bcb7dba9fa6d7858725b0929069a12622' source_sha256 'e0086c9b9811df2bdf763ec9016dfb1bcb7dba9fa6d7858725b0929069a12622'
depends_on 'compressdoc' => :build depends_on 'compressdoc' => :build
def self.build def self.build
system"./configure \ system "./configure", "--prefix=#{CREW_PREFIX}", "--mandir #{CREW_PREFIX}/share/man"
--prefix=#{CREW_PREFIX} \
--enable-gui=no \
--with-features=huge \
--without-x \
--disable-nls \
--enable-multibyte \
--with-tlib=ncurses \
--enable-perlinterp \
--disable-selinux"
system "make" system "make"
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "MANDIR=#{CREW_DEST_PREFIX}/share/man/man1", "install"
system "compressdoc --gzip -9 #{CREW_DEST_PREFIX}/share/man/man1"
end end
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