aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2014-04-27 10:54:47 -0700
committerAdam Vandenberg2014-04-27 11:39:18 -0700
commitc97f01f15ee982c1da1cd815d118c0e1163451fc (patch)
treecdeeb73e6e84469ac4560290767db3a584455008 /Library
parent3ad82fc3fd76828dc2599a6e62a18b69a61c01c4 (diff)
downloadhomebrew-c97f01f15ee982c1da1cd815d118c0e1163451fc.tar.bz2
wrangler 1.1.01
Closes #25201.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/wrangler.rb66
1 files changed, 2 insertions, 64 deletions
diff --git a/Library/Formula/wrangler.rb b/Library/Formula/wrangler.rb
index 29cb0ac54..287ea6661 100644
--- a/Library/Formula/wrangler.rb
+++ b/Library/Formula/wrangler.rb
@@ -2,15 +2,11 @@ require 'formula'
class Wrangler < Formula
homepage 'http://www.cs.kent.ac.uk/projects/forse/'
- url 'http://www.cs.kent.ac.uk/projects/forse/wrangler/wrangler-0.9/wrangler-0.9.3.1.tar.gz'
- sha1 'a0afccf0ad08c070e275d48b4cbd179b4368bba4'
+ url 'https://github.com/RefactoringTools/wrangler/archive/wrangler1.1.01.tar.gz'
+ sha1 ''
depends_on 'erlang'
- # Respect $CC during compilation. Merged upstream:
- # https://github.com/RefactoringTools/wrangler/pull/41
- patch :DATA
-
def install
ENV.deparallelize
system "./configure", "--prefix=#{prefix}"
@@ -18,61 +14,3 @@ class Wrangler < Formula
system "make install"
end
end
-
-__END__
-diff --git i/c_src/gsuffixtree/Makefile.in w/c_src/gsuffixtree/Makefile.in
-index 3f4e6fa..751ed55 100755
---- i/c_src/gsuffixtree/Makefile.in
-+++ w/c_src/gsuffixtree/Makefile.in
-@@ -1,5 +1,6 @@
-
-
-+CC = @CC@
- ERL_CFLAGS = @ERL_CFLAGS@
- ERL_LIB = @ERL_LIB@
- CFLAGS = @CFLAGS@
-@@ -10,13 +11,13 @@ ERL_LDFLAGS= ${LDFLAGS} ${ERL_LIB}
-
-
- gsuffixtree: main.o gsuffix_tree.o
-- gcc ${ERL_LDFLAGS} main.o gsuffix_tree.o -lerl_interface -lei -lpthread -o gsuffixtree
-+ $(CC) ${ERL_LDFLAGS} main.o gsuffix_tree.o -lerl_interface -lei -lpthread -o gsuffixtree
-
- gsuffix_tree.o: gsuffix_tree.c gsuffix_tree.h
-- gcc ${CFLAGS} ${ERL_CFLAGS} -o gsuffix_tree.o -c gsuffix_tree.c
-+ $(CC) ${CFLAGS} ${ERL_CFLAGS} -o gsuffix_tree.o -c gsuffix_tree.c
-
- main.o: gsuffix_tree.h
-- gcc ${CFLAGS} ${ERL_CFLAGS} -o main.o -c main.c
-+ $(CC) ${CFLAGS} ${ERL_CFLAGS} -o main.o -c main.c
-
- clean:
- -rm -f *.o
-diff --git i/c_src/suffixtree/Makefile.in w/c_src/suffixtree/Makefile.in
-index 8ed7c1d..3f40de4 100755
---- i/c_src/suffixtree/Makefile.in
-+++ w/c_src/suffixtree/Makefile.in
-@@ -1,5 +1,6 @@
-
-
-+CC = @CC@
- ERL_CFLAGS = @ERL_CFLAGS@
- ERL_LIB = @ERL_LIB@
- CFLAGS = @CFLAGS@
-@@ -10,13 +11,13 @@ ERL_LDFLAGS= ${LDFLAGS} ${ERL_LIB}
-
-
- suffixtree: main.o suffix_tree.o
-- gcc ${ERL_LDFLAGS} main.o suffix_tree.o -lerl_interface -lei -lpthread -o suffixtree
-+ $(CC) ${ERL_LDFLAGS} main.o suffix_tree.o -lerl_interface -lei -lpthread -o suffixtree
-
- suffix_tree.o: suffix_tree.c suffix_tree.h
-- gcc ${CFLAGS} ${ERL_CFLAGS} -o suffix_tree.o -c suffix_tree.c
-+ $(CC) ${CFLAGS} ${ERL_CFLAGS} -o suffix_tree.o -c suffix_tree.c
-
- main.o: suffix_tree.h
-- gcc ${CFLAGS} ${ERL_CFLAGS} -o main.o -c main.c
-+ $(CC) ${CFLAGS} ${ERL_CFLAGS} -o main.o -c main.c
-
- clean:
- -rm -f *.o