Commit cb1ec757 authored by Casey Strouse's avatar Casey Strouse

Abstract prefix using constant

parent 3bdc86c8
...@@ -20,8 +20,9 @@ class Cmake < Package ...@@ -20,8 +20,9 @@ class Cmake < Package
if Dir.exist? "#{CREW_PREFIX}/include/ncursesw" if Dir.exist? "#{CREW_PREFIX}/include/ncursesw"
system 'sed -i "51s,$,\n set(CURSES_INCLUDE_PATH ' + "#{CREW_PREFIX}/include/ncursesw" + ')," Modules/FindCurses.cmake' system 'sed -i "51s,$,\n set(CURSES_INCLUDE_PATH ' + "#{CREW_PREFIX}/include/ncursesw" + ')," Modules/FindCurses.cmake'
end end
system "./bootstrap" system './bootstrap',
system "make" "--prefix=#{CREW_PREFIX}"
system 'make'
end end
def self.install def self.install
......
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