annotate src/libunistring.mk @ 2365:b5321bdec505

Move full package names from src/*.mk into package list (index.html)
author Volker Grabsch <vog@notjusthosting.com>
date Thu, 29 Mar 2012 21:41:44 +0200
parents 99516e73b368
children 4d0f3a9da57e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 956
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See index.html for further information.
867
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 PKG := libunistring
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
956
9a8f1b49a25f upgrade packages boost gdal glew gst-plugins-base gstreamer gtk libgpg_error libgsf libpng librsvg libunistring taglib
Mark Brand <mabrand@mabrand.nl>
parents: 867
diff changeset
6 $(PKG)_CHECKSUM := e1ea13c24a30bc93932d19eb5ad0704a618506dd
867
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_URL := http://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE)
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_DEPS := gcc libiconv
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 define $(PKG)_UPDATE
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 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
14 grep '<a class="list name"' | \
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 $(SED) -n 's,.*<a[^>]*>v\([0-9][^<]*\)<.*,\1,p' | \
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 head -1
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 endef
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 define $(PKG)_BUILD
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 cd '$(1)' && ./configure \
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 --host='$(TARGET)' \
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 --prefix='$(PREFIX)/$(TARGET)' \
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 --disable-shared \
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --enable-threads=win32
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 $(MAKE) -C '$(1)' -j '$(JOBS)'
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 $(MAKE) -C '$(1)' -j 1 install
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 endef