Commit 31458b22 authored by lyxell's avatar lyxell Committed by GitHub

Merge pull request #411 from cstrouse/add-tcl

Add tcl (8.6.6) package
parents 80abb314 4d026bad
require 'package'
class Tcl < Package
version '8.6.6'
source_url 'http://downloads.sourceforge.net/tcl/tcl8.6.6-src.tar.gz'
source_sha1 '169dd1589cad62c9fac4257c113db245da502cd0'
def self.build
FileUtils.chdir("unix") do
if `uname -m`.strip == "x86_64"
system "./configure --prefix=/usr/local --enable-64bit"
else
system "./configure --prefix=/usr/local"
end
system "make"
end
end
def self.install
FileUtils.chdir("unix") do
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install-private-headers"
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