From c299dc4ce34e3260fb49d8891c8d97ac7558db7e Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Sun, 8 Nov 2015 23:25:20 +0100 Subject: add package ucl --- index.html | 4 ++++ src/ucl.mk | 25 +++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 src/ucl.mk 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) TwoLAME + ucl + UCL + + unrtf unRTF 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 -- cgit v0.12