2011-08-16 16:33:38 -06:00
|
|
|
INFERNO_PKGDIR = $(TARGET)/inferno
|
|
|
|
INFERNO_BUILDDIR = $(BUILD)/inferno
|
|
|
|
|
2012-05-10 12:32:09 -06:00
|
|
|
INFERNO_ERIS_CACHE = $(CACHE)/eris.git
|
|
|
|
INFERNO_ERIS_URL = http://woozle.org/~neale/projects/eris
|
2011-08-16 16:33:38 -06:00
|
|
|
|
2012-05-10 12:32:09 -06:00
|
|
|
$(INFERNO_ERIS_CACHE):
|
|
|
|
git clone --bare $(INFERNO_ERIS_URL) $@
|
2011-08-16 16:33:38 -06:00
|
|
|
|
|
|
|
inferno-source: $(INFERNO_BUILDDIR)
|
2012-05-10 12:32:09 -06:00
|
|
|
$(INFERNO_BUILDDIR): $(INFERNO_ERIS_CACHE)
|
2011-08-16 16:33:38 -06:00
|
|
|
git clone $< $@
|
|
|
|
|
|
|
|
inferno-build: $(INFERNO_BUILDDIR)/build
|
|
|
|
$(INFERNO_BUILDDIR)/build: $(INFERNO_BUILDDIR)
|
2012-05-10 12:32:09 -06:00
|
|
|
$(MAKE) -C $(INFERNO_BUILDDIR)
|
2011-08-16 16:33:38 -06:00
|
|
|
|
|
|
|
inferno-install: $(INFERNO_BUILDDIR)/build
|
|
|
|
mkdir -p $(INFERNO_PKGDIR)/bin
|
|
|
|
|
2012-05-10 12:32:09 -06:00
|
|
|
cp $(INFERNO_BUILDDIR)/eris $(INFERNO_PKGDIR)/bin/
|
2011-08-16 16:33:38 -06:00
|
|
|
|
|
|
|
$(call COPYTREE, packages/inferno/service, $(INFERNO_PKGDIR)/service)
|
|
|
|
|
|
|
|
inferno-clean:
|
|
|
|
rm -rf $(INFERNO_PKGDIR) $(INFERNO_BUILDDIR)
|
|
|
|
|
2011-09-23 16:04:25 -06:00
|
|
|
PACKAGES += inferno
|