2011-02-07 17:12:12 -07:00
|
|
|
RLYEH_PKGDIR = $(TARGET)/rlyeh
|
|
|
|
RLYEH_BUILDDIR = $(BUILD)/rlyeh
|
2011-03-08 23:06:21 -07:00
|
|
|
RLYEH_CACHE = $(CACHE)/rlyeh.git
|
2011-02-23 17:29:34 -07:00
|
|
|
RLYEH_URL = "http://woozle.org/~neale/projects/rlyeh"
|
2011-02-07 17:12:12 -07:00
|
|
|
|
2011-03-08 23:06:21 -07:00
|
|
|
$(RLYEH_CACHE):
|
|
|
|
git clone --bare $(RLYEH_URL) $@
|
|
|
|
|
2011-02-23 17:29:34 -07:00
|
|
|
rlyeh-source: $(RLYEH_BUILDDIR)
|
2011-03-08 23:06:21 -07:00
|
|
|
$(RLYEH_BUILDDIR): $(RLYEH_CACHE)
|
|
|
|
git clone $< $@
|
2011-02-07 17:12:12 -07:00
|
|
|
|
|
|
|
rlyeh-build: rlyeh-source
|
2011-02-23 17:29:34 -07:00
|
|
|
$(MAKE) -C $(RLYEH_BUILDDIR)
|
2011-02-07 17:12:12 -07:00
|
|
|
|
|
|
|
rlyeh-install: rlyeh-build
|
|
|
|
mkdir -p $(RLYEH_PKGDIR)/bin
|
2011-02-23 17:29:34 -07:00
|
|
|
cp $(RLYEH_BUILDDIR)/rlyeh $(RLYEH_PKGDIR)/bin
|
2011-02-07 17:12:12 -07:00
|
|
|
|
|
|
|
$(call COPYTREE, packages/rlyeh/service, $(RLYEH_PKGDIR)/service)
|
2011-02-09 15:31:15 -07:00
|
|
|
$(call COPYTREE, packages/rlyeh/tokens, $(RLYEH_PKGDIR)/tokens)
|
2011-02-07 17:12:12 -07:00
|
|
|
|
|
|
|
rlyeh-clean:
|
|
|
|
rm -rf $(RLYEH_BUILDDIR)
|
|
|
|
|
|
|
|
PACKAGES += rlyeh
|