17 lines
474 B
Makefile
17 lines
474 B
Makefile
include $(CURDIR)/../Makefile.inc
|
|
|
|
BRANCH = default
|
|
SOURCE = https://bitbucket.org/clarifiednetworks/vsroom/get/$(BRANCH).tar.gz
|
|
TARGET = vsroom-$(BRANCH)-$(TIMESTAMP).tar.gz
|
|
|
|
all: tarball manifest
|
|
tarball: $(PACKAGES)/$(TARGET)
|
|
manifest: $(MANIFESTS)/vsroom.pp
|
|
|
|
$(PACKAGES)/$(TARGET):
|
|
@umask 022; echo $@; \
|
|
test -f $@ || curl -o $@ $(SOURCE)
|
|
|
|
$(MANIFESTS)/vsroom.pp: $(PACKAGES)/$(TARGET)
|
|
@umask 022; echo $@; \
|
|
echo '$$vsroom_package_latest = "$(TARGET)"' > $@
|