61b2307139
brewkit.rb changes ENV destructively, so lets not do that everytime a formula is required. Now it's possible for other tools to require a formula description without worrying about side-effects.
14 lines
385 B
Ruby
14 lines
385 B
Ruby
require 'formula'
|
|
|
|
class Automoc4 <Formula
|
|
@url='http://ftp-stud.fht-esslingen.de/Mirrors/ftp.kde.org/pub/kde/stable/automoc4/0.9.88/automoc4-0.9.88.tar.bz2'
|
|
@homepage='http://techbase.kde.org/Development/Tools/Automoc4'
|
|
@md5='91bf517cb940109180ecd07bc90c69ec'
|
|
|
|
depends_on 'cmake'
|
|
|
|
def install
|
|
system "cmake . #{std_cmake_parameters}"
|
|
system "make install"
|
|
end
|
|
end
|