Commit 4d026bad authored by Casey Strouse's avatar Casey Strouse

Add tcl (8.6.6) package

Tcl (Tool Command Language) is a very powerful but easy to learn dynamic
programming language, suitable for a very wide range of uses, including
web and desktop applications, networking, administration, testing and
many more.

Tested as working properly on Samsung XE50013-K01US.
parent 56502082
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