diff options
author | Timothy Gu <timothygu99@gmail.com> | 2015-08-26 14:48:25 (GMT) |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2015-08-26 14:48:25 (GMT) |
commit | e6c606ca81edda5cb013c5cabd9e304fe153fd75 (patch) | |
tree | a2988a751c957da70440840f094b9d44d79ae9e2 | |
parent | d72d78778dcc6b55f6d0caddc76453888ed61d6d (diff) | |
parent | d40074e9d863ce72bc1eb83bcb87b3d650b44ed3 (diff) | |
download | mxe-e6c606ca81edda5cb013c5cabd9e304fe153fd75.zip mxe-e6c606ca81edda5cb013c5cabd9e304fe153fd75.tar.gz mxe-e6c606ca81edda5cb013c5cabd9e304fe153fd75.tar.bz2 |
Merge pull request #797 from LuaAndC/tclap
add package tclap
-rw-r--r-- | index.html | 4 | ||||
-rw-r--r-- | src/tclap.mk | 23 |
2 files changed, 27 insertions, 0 deletions
@@ -2389,6 +2389,10 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre> <td class="website"><a href="http://developer.kde.org/~wheeler/taglib.html">TagLib</a></td> </tr> <tr> + <td class="package">tclap</td> + <td class="website"><a href="http://tclap.sourceforge.net/">tclap</a></td> + </tr> + <tr> <td class="package">teem</td> <td class="website"><a href="http://teem.sourceforge.net/">Teem</a></td> </tr> 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 |