18 lines
470 B
Makefile
18 lines
470 B
Makefile
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)"' > $@
|