From d40074e9d863ce72bc1eb83bcb87b3d650b44ed3 Mon Sep 17 00:00:00 2001 From: Piotr Beling Date: Wed, 26 Aug 2015 13:47:32 +0300 Subject: add package tclap --- index.html | 4 ++++ src/tclap.mk | 23 +++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 src/tclap.mk diff --git a/index.html b/index.html index ba61bc1..6ff7e88 100644 --- a/index.html +++ b/index.html @@ -2389,6 +2389,10 @@ local-pkg-list: $(LOCAL_PKG_LIST) TagLib + tclap + tclap + + teem Teem diff --git a/src/tclap.mk b/src/tclap.mk new file mode 100644 index 0000000..2a2fb17 --- /dev/null +++ b/src/tclap.mk @@ -0,0 +1,23 @@ +# 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 -- cgit v0.12