summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--index.html4
-rw-r--r--src/ucl.mk25
2 files changed, 29 insertions, 0 deletions
diff --git a/index.html b/index.html
index 3baca73..9dd5a88 100644
--- a/index.html
+++ b/index.html
@@ -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