# HG changeset patch # User Volker Grabsch # Date 1271288530 -7200 # Node ID 396697e8242263d751cb4fa1e14e1d0cae9a39fa # Parent 9c32f9bf98dc0700e7e992aaee028fd3857bc5ae# Parent 35fff97cb63a7f48130696f5eb67ef75e6d330ec merge diff -r 9c32f9bf98dc -r 396697e82422 src/libunistring.mk --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/libunistring.mk Thu Apr 15 01:42:10 2010 +0200 @@ -0,0 +1,30 @@ +# This file is part of mingw-cross-env. +# See doc/index.html for further information. + +# libunistring +PKG := libunistring +$(PKG)_IGNORE := +$(PKG)_VERSION := 0.9.2.1 +$(PKG)_CHECKSUM := 9e2dfde9030281d40b16e8c998ffbeb48f016512 +$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) +$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz +$(PKG)_WEBSITE := http://www.gnu.org/software/$(PKG)/ +$(PKG)_URL := http://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE) +$(PKG)_DEPS := gcc libiconv + +define $(PKG)_UPDATE + wget -q -O- 'http://git.savannah.gnu.org/gitweb/?p=$(PKG).git;a=tags' | \ + grep ']*>v\([0-9][^<]*\)<.*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --prefix='$(PREFIX)/$(TARGET)' \ + --disable-shared \ + --enable-threads=win32 + $(MAKE) -C '$(1)' -j '$(JOBS)' + $(MAKE) -C '$(1)' -j 1 install +endef