require 'formula' class Libcppa < Formula homepage 'http://libcppa.blogspot.it' url 'http://github.com/Neverlord/libcppa/archive/V0.9.3.tar.gz' sha1 'b9fce68bc4e5688cc75cfc9add5ec1feb105ab7d' bottle do cellar :any sha1 "4527da9b1c0e6a60c13cf7a35540fceaa2caa3b2" => :mavericks sha1 "cee8d1916bcd7eebfc151a6712e1efd58d54c4c1" => :mountain_lion sha1 "d30dbe35371a62ddd9f34ada0210a3770d05191d" => :lion end depends_on 'cmake' => :build needs :cxx11 option 'with-opencl', 'Build with OpenCL actors' option 'with-examples', 'Build examples' def install ENV.cxx11 args = %W[ --prefix=#{prefix} --build-static --disable-context-switching ] args << '--with-opencl' if build.with? 'opencl' args << '--no-examples' if build.without? 'examples' system "./configure", *args system "make" system "make", "test" system "make", "install" end end lected='selected'>master :beer: The missing package manager for OS X.
aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/debianutils.rb
blob: 817e0c21d5b418e4adef17c56880c971c2cd935b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'formula'

class Debianutils < Formula
  homepage 'http://anonscm.debian.org/gitweb/?p=users/clint/debianutils.git'
  url 'http://ftp.de.debian.org/debian/pool/main/d/debianutils/debianutils_4.4.tar.gz'
  sha1 '019b969ab698c83117254b50fc8f469f10a5d8d6'

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make"

    # some commands are Debian Linux specific and we don't want them, so install specific tools
    bin.install 'run-parts', 'ischroot', 'tempfile'
    man1.install 'ischroot.1', 'tempfile.1'
    man8.install 'run-parts.8'
  end
end