# This file is part of MXE.
# See index.html for further information.
PKG := tclap
$(PKG)_IGNORE :=
$(PKG)_VERSION := 1.2.1
$(PKG)_CHECKSUM := 4f124216dd6e6936f5af6372d921a6c51563f8fd
$(PKG)_SUBDIR := tclap-$($(PKG)_VERSION)
$(PKG)_FILE := tclap-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/tclap/$($(PKG)_FILE)
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://sourceforge.net/projects/tclap/files/' | \
$(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
head -1
endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \
$(MXE_CONFIGURE_OPTS)
$(MAKE) -C '$(1)' -j '$(JOBS)' install
endef