diff options
author | Boris Nagaev <bnagaev@gmail.com> | 2015-11-08 22:25:20 (GMT) |
---|---|---|
committer | Boris Nagaev <bnagaev@gmail.com> | 2015-11-09 02:02:38 (GMT) |
commit | c299dc4ce34e3260fb49d8891c8d97ac7558db7e (patch) | |
tree | 5a24d920c21700d684f733a73cb5b043f9d01aab | |
parent | 20bf529ce96a59514a9870874baf77874374c8f9 (diff) | |
download | mxe-c299dc4ce34e3260fb49d8891c8d97ac7558db7e.zip mxe-c299dc4ce34e3260fb49d8891c8d97ac7558db7e.tar.gz mxe-c299dc4ce34e3260fb49d8891c8d97ac7558db7e.tar.bz2 |
add package ucl
-rw-r--r-- | index.html | 4 | ||||
-rw-r--r-- | src/ucl.mk | 25 |
2 files changed, 29 insertions, 0 deletions
@@ -2447,6 +2447,10 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre> <td class="website"><a href="http://www.twolame.org/">TwoLAME</a></td> </tr> <tr> + <td class="package">ucl</td> + <td class="website"><a href="http://www.oberhumer.com/opensource/ucl/">UCL</a></td> + </tr> + <tr> <td class="package">unrtf</td> <td class="website"><a href="https://www.gnu.org/software/unrtf/">unRTF</a></td> </tr> diff --git a/src/ucl.mk b/src/ucl.mk new file mode 100644 index 0000000..d374a2f --- /dev/null +++ b/src/ucl.mk @@ -0,0 +1,25 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := ucl +$(PKG)_IGNORE := +$(PKG)_VERSION := 1.03 +$(PKG)_CHECKSUM := b865299ffd45d73412293369c9754b07637680e5c826915f097577cd27350348 +$(PKG)_SUBDIR := ucl-$($(PKG)_VERSION) +$(PKG)_FILE := ucl-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := http://www.oberhumer.com/opensource/ucl/download/$($(PKG)_FILE) +$(PKG)_DEPS := gcc + +define $(PKG)_UPDATE + $(WGET) -q -O- 'http://www.oberhumer.com/opensource/ucl/' | \ + $(SED) -n 's,.*ucl-\([0-9][^"]*\)\.tar.*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && \ + ./configure \ + $(MXE_CONFIGURE_OPTS) + $(MAKE) -C '$(1)' -j '$(JOBS)' LDFLAGS=-no-undefined + $(MAKE) -C '$(1)' -j 1 install +endef |