mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mingw-cross-env-list] tclap.mk - new pkg


From: Piotr Beling
Subject: [Mingw-cross-env-list] tclap.mk - new pkg
Date: Tue, 25 Aug 2015 22:34:37 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.8.0

TCLAP is a small, flexible and HADER ONLY library that provides a simple interface for defining and accessing command line arguments. MIT License. See: http://tclap.sourceforge.net/

I made the package some time ago, but I checked that it still works with fresh MXE. Feel free to use and distribute it on license you want.

I am not sure if attachments are accepted, so I just paste the content of the files below.

Best regrets,
Piotr Beling

--- index.html ---
    <tr>
        <td class="package">tclap</td>
<td class="website"><a href="http://tclap.sourceforge.net/";>tclap</a></td>
    </tr>

--- tclap.mk ---
# 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 \
        --host='$(TARGET)' \
        --disable-shared \
        --prefix='$(PREFIX)/$(TARGET)'
    $(MAKE) -C '$(1)' -j '$(JOBS)' install
endef



reply via email to

[Prev in Thread] Current Thread [Next in Thread]