############################################################# # # ucarp # ############################################################# # 1.5.1 is the newest one but it wonÃ't configure UCARP_VER=1.5 UCARP_SOURCE_URL=ftp://ftp.ucarp.org/pub/ucarp/old/ UCARP_SOURCE=ucarp-$(UCARP_VER).tar.bz2 UCARP_DIR=$(BUILD_DIR)/ucarp-$(UCARP_VER) UCARP_PKG_DIR=$(PACKAGES_DIR)/ucarp $(DL_DIR)/$(UCARP_SOURCE): $(WGET) -P $(DL_DIR) $(UCARP_SOURCE_URL)$(UCARP_SOURCE) ucarp-source: $(DL_DIR)/$(UCARP_SOURCE) $(UCARP_DIR)/.unpacked: $(DL_DIR)/$(UCARP_SOURCE) bzcat $(DL_DIR)/$(UCARP_SOURCE) | \ tar $(TAR_VERBOSE) -C $(BUILD_DIR) -xf - touch $(UCARP_DIR)/.unpacked $(UCARP_DIR)/.configured: $(UCARP_DIR)/.unpacked (cd $(UCARP_DIR); $(RM) -r config.cache; \ ./configure --prefix=$(UCARP_PKG_DIR)/usr \ CFLAGS="$(TARGET_CFLAGS)" \ CC=$(TARGET_CC) \ ); touch $(UCARP_DIR)/.configured $(UCARP_DIR)/src/ucarp: $(UCARP_DIR)/.configured $(MAKE) -C $(UCARP_DIR) $(UCARP_PKG_DIR)/usr/sbin/ucarp: $(UCARP_DIR)/src/ucarp $(MAKE) -C $(UCARP_DIR) install -$(SSTRIP) $(UCARP_PKG_DIR)/usr/sbin/ucarp $(PACKAGES_DIR)/ucarp.ffw: $(UCARP_PKG_DIR)/usr/sbin/ucarp (cd $(PACKAGES_DIR); sh mkpack ucarp) ucarp: $(PACKAGES_DIR)/ucarp.ffw ucarp-clean: -$(RM) $(UCARP_PKG_DIR)/identd $(MAKE) -C $(UCARP_DIR) clean ucarp-dirclean: -$(RM) -r $(UCARP_DIR) -$(RM) $(UCARP_PKG_DIR)/identd