Initial version of solr module
This commit is contained in:
parent
317780be0f
commit
0630f22306
7 changed files with 321 additions and 0 deletions
18
solr/Makefile
Normal file
18
solr/Makefile
Normal file
|
@ -0,0 +1,18 @@
|
|||
include $(CURDIR)/../Makefile.inc
|
||||
|
||||
VERSION = 4.2.1
|
||||
|
||||
TARGET = solr-$(VERSION).tgz
|
||||
SOURCE = http://ftp.funet.fi/pub/mirrors/apache.org/lucene/solr/$(VERSION)/solr-$(VERSION).tgz
|
||||
|
||||
all: download manifest
|
||||
download: $(PACKAGES)/$(TARGET)
|
||||
manifest: $(MANIFESTS)/solr.pp
|
||||
|
||||
$(PACKAGES)/$(TARGET):
|
||||
@umask 022; echo $@; \
|
||||
test -f $@ || curl -o $@ $(SOURCE)
|
||||
|
||||
$(MANIFESTS)/solr.pp: $(PACKAGES)/$(TARGET)
|
||||
@umask 022; echo $@; \
|
||||
echo '$$solr_package_latest = "$(TARGET)"' > $@
|
Loading…
Add table
Add a link
Reference in a new issue