annotate src/libunistring.mk @ 867:35fff97cb63a

new package: libunistring
author Volker Grabsch <vog@notjusthosting.com>
date Thu, 15 Apr 2010 01:29:49 +0200
parents
children 9a8f1b49a25f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
867
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
1 # This file is part of mingw-cross-env.
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
2 # See doc/index.html for further information.
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 # libunistring
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 PKG := libunistring
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6 $(PKG)_IGNORE :=
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_VERSION := 0.9.2.1
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_CHECKSUM := 9e2dfde9030281d40b16e8c998ffbeb48f016512
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11 $(PKG)_WEBSITE := http://www.gnu.org/software/$(PKG)/
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 $(PKG)_URL := http://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE)
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 $(PKG)_DEPS := gcc libiconv
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 wget -q -O- 'http://git.savannah.gnu.org/gitweb/?p=$(PKG).git;a=tags' | \
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 grep '<a class="list name"' | \
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 $(SED) -n 's,.*<a[^>]*>v\([0-9][^<]*\)<.*,\1,p' | \
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 head -1
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 endef
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 define $(PKG)_BUILD
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 cd '$(1)' && ./configure \
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --host='$(TARGET)' \
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 --prefix='$(PREFIX)/$(TARGET)' \
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --disable-shared \
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 --enable-threads=win32
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 $(MAKE) -C '$(1)' -j '$(JOBS)'
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 $(MAKE) -C '$(1)' -j 1 install
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 endef