moth/packages/rlyeh/rlyeh.mk

23 lines
551 B
Makefile
Raw Normal View History

2011-02-07 17:12:12 -07:00
RLYEH_PKGDIR = $(TARGET)/rlyeh
RLYEH_BUILDDIR = $(BUILD)/rlyeh
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-02-23 17:29:34 -07:00
rlyeh-source: $(RLYEH_BUILDDIR)
$(RLYEH_BUILDDIR):
git clone $(RLYEH_URL) $@
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