add package ucl

This commit is contained in:
Boris Nagaev 2015-11-08 23:25:20 +01:00
parent 20bf529ce9
commit c299dc4ce3
2 changed files with 29 additions and 0 deletions

View File

@ -2446,6 +2446,10 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
<td class="package">twolame</td>
<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>

25
src/ucl.mk Normal file
View File

@ -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