annotate Makefile @ 13:c0150404962d

start working on building from source
author Carl Byington <carl@five-ten-sg.com>
date Sat, 06 Apr 2013 08:48:09 -0700
parents fa645feb1f0e
children 0e45fe64b10d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
fa645feb1f0e fetch the jar file if we don't have it
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
1 f=logstash-1.1.9-monolithic.jar
13
c0150404962d start working on building from source
Carl Byington <carl@five-ten-sg.com>
parents: 10
diff changeset
2 g=logstash-1.1.9.tar.gz
c0150404962d start working on building from source
Carl Byington <carl@five-ten-sg.com>
parents: 10
diff changeset
3 h=elasticsearch-0.20.6.tar.gz
c0150404962d start working on building from source
Carl Byington <carl@five-ten-sg.com>
parents: 10
diff changeset
4 i=GraphTastic.tar.gz
c0150404962d start working on building from source
Carl Byington <carl@five-ten-sg.com>
parents: 10
diff changeset
5 icc=06a620d011d08bd2c1099c0d0810c053bf105400
0
df4952a2fb06 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
6 all:
10
fa645feb1f0e fetch the jar file if we don't have it
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
7 [ -f $f ] || curl https://logstash.objects.dreamhost.com/release/$f >$f
13
c0150404962d start working on building from source
Carl Byington <carl@five-ten-sg.com>
parents: 10
diff changeset
8 [ -f $g ] || curl https://nodeload.github.com/logstash/logstash/tar.gz/v1.1.9 >$g
c0150404962d start working on building from source
Carl Byington <carl@five-ten-sg.com>
parents: 10
diff changeset
9 [ -f $h ] || curl https://nodeload.github.com/elasticsearch/elasticsearch/tar.gz/v0.20.6 >$h
c0150404962d start working on building from source
Carl Byington <carl@five-ten-sg.com>
parents: 10
diff changeset
10 [ -f $i ] || curl https://nodeload.github.com/NickPadilla/GraphTastic/tar.gz/$(icc) >$i
0
df4952a2fb06 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
11 [ -d builder ] && rm -rf builder || /bin/true
df4952a2fb06 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
12 mkdir builder
df4952a2fb06 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
13 rpmbuild --define "_sourcedir $(shell pwd)" --define "_builddir $(shell pwd)/builder" --define "_srcrpmdir $(shell pwd)" --define "_rpmdir $(shell pwd)" --define "_source_filedigest_algorithm md5" --define "_binary_filedigest_algorithm md5" -ba logstash.spec
13
c0150404962d start working on building from source
Carl Byington <carl@five-ten-sg.com>
parents: 10
diff changeset
14 [ -d builder ] && rm -rf builder || /bin/true
c0150404962d start working on building from source
Carl Byington <carl@five-ten-sg.com>
parents: 10
diff changeset
15 rpmbuild --define "_builddir $(shell pwd)/builder" --rebuild logstash-1.1.9-0.src.rpm