genode/libports/ports/qoost.mk
Christian Prochaska 9d08c2b675 libports: update Qoost to version ce3d328928
Update Qoost to version ce3d328928 for GCC 4.7 support.

Fixes #408.
2012-10-30 12:16:45 +01:00

32 lines
781 B
Makefile

QOOST_VERSION = ce3d328928
QOOST = qoost-$(QOOST_VERSION)
QOOST_TBZ = $(QOOST_VERSION).tar.bz2
QOOST_URL = http://qoost.hg.sourceforge.net/hgweb/qoost/qoost/archive/$(QOOST_TBZ)
#
# Interface to top-level prepare Makefile
#
PORTS += $(QOOST)
prepare-qoost: $(CONTRIB_DIR)/$(QOOST) include/qoost
$(CONTRIB_DIR)/$(QOOST): clean-qoost
#
# Port-specific local rules
#
$(DOWNLOAD_DIR)/$(QOOST_TBZ):
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(QOOST_URL) && touch $@
$(CONTRIB_DIR)/$(QOOST): $(DOWNLOAD_DIR)/$(QOOST_TBZ)
$(VERBOSE)tar xfj $< -C $(CONTRIB_DIR) && touch $@
include/qoost:
$(VERBOSE)mkdir -p $(dir $@)
$(VERBOSE)ln -sf ../$(CONTRIB_DIR)/$(QOOST)/include/qoost $@
clean-qoost:
$(VERBOSE)rm -f include/qoost
$(VERBOSE)rm -rf $(CONTRIB_DIR)/$(QOOST)