nesc 1.3.6

New homepage and package source: the old homepage at sourceforge
is apparently abandoned and there does not seem to be a
replacement. Github seems to be the closest to a homepage that
exists. It hosts the current repository for nesc and tinyos now.

Another change affects the way we build nesc. Up to 1.3.5 the
maintainers released tarballs with some preprocessing already
done, this is not the case for 1.3.6. The result is that we depend
on autoconf and automake and need to call ./Bootstrap.

Closes Homebrew/homebrew#50366.

Signed-off-by: Alex Dunn <adunn@ucsb.edu>
This commit is contained in:
Georg Schölly 2016-03-23 22:12:11 +01:00 committed by Xu Cheng
parent de0ff72a94
commit 73b09014fb

View file

@ -1,8 +1,13 @@
class Nesc < Formula
desc "Programming language for deeply networked systems"
homepage "http://nescc.sourceforge.net/"
url "https://downloads.sourceforge.net/project/nescc/nescc/v1.3.5/nesc-1.3.5.tar.gz"
sha256 "c22be276d565681a2b84ddbf2a037256d24ecbf0da35e30157589609eec63096"
homepage "https://github.com/tinyos/nesc"
url "https://github.com/tinyos/nesc/archive/v1.3.6.tar.gz"
sha256 "80a979aacda950c227542f2ddd0604c28f66fe31223c608b4f717e5f08fb0cbf"
depends_on "automake" => :build
depends_on "autoconf" => :build
depends_on :java => :build
depends_on :emacs => :build
bottle do
cellar :any_skip_relocation
@ -12,6 +17,11 @@ class Nesc < Formula
end
def install
# nesc is unable to build in parallel because multiple emacs instances
# lead to locking on the same file
ENV.deparallelize
system "./Bootstrap"
system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make"
system "make", "install"