Mercurial > mxe-octave
annotate src/libiconv.mk @ 175:bd03fe11ee3d
bugfix: fixed version recognition of package 'libiconv'
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Sun, 09 Nov 2008 13:26:02 +0100 |
parents | 44c3bd0085e8 |
children | 54e76514138d |
rev | line source |
---|---|
132
44c3bd0085e8
translated package: libiconv
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
1 # libiconv |
44c3bd0085e8
translated package: libiconv
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
2 # http://www.gnu.org/software/libiconv/ |
44c3bd0085e8
translated package: libiconv
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
3 |
44c3bd0085e8
translated package: libiconv
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
4 PKG := libiconv |
44c3bd0085e8
translated package: libiconv
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
5 $(PKG)_VERSION := 1.11.1 |
44c3bd0085e8
translated package: libiconv
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
6 $(PKG)_SUBDIR := libiconv-$($(PKG)_VERSION) |
44c3bd0085e8
translated package: libiconv
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
7 $(PKG)_FILE := libiconv-$($(PKG)_VERSION).tar.gz |
44c3bd0085e8
translated package: libiconv
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
8 $(PKG)_URL := http://ftp.gnu.org/pub/gnu/libiconv/$($(PKG)_FILE) |
44c3bd0085e8
translated package: libiconv
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
9 $(PKG)_DEPS := gcc |
44c3bd0085e8
translated package: libiconv
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
10 |
44c3bd0085e8
translated package: libiconv
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
11 define $(PKG)_UPDATE |
175
bd03fe11ee3d
bugfix: fixed version recognition of package 'libiconv'
Volker Grabsch <vog@notjusthosting.com>
parents:
132
diff
changeset
|
12 wget -q -O- 'http://www.gnu.org/software/libiconv/' | \ |
bd03fe11ee3d
bugfix: fixed version recognition of package 'libiconv'
Volker Grabsch <vog@notjusthosting.com>
parents:
132
diff
changeset
|
13 grep 'libiconv-' | \ |
bd03fe11ee3d
bugfix: fixed version recognition of package 'libiconv'
Volker Grabsch <vog@notjusthosting.com>
parents:
132
diff
changeset
|
14 $(SED) -n 's,.*libiconv-\([0-9][^>]*\)\.tar.*,\1,p' | \ |
bd03fe11ee3d
bugfix: fixed version recognition of package 'libiconv'
Volker Grabsch <vog@notjusthosting.com>
parents:
132
diff
changeset
|
15 head -1 |
132
44c3bd0085e8
translated package: libiconv
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 endef |
44c3bd0085e8
translated package: libiconv
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 |
44c3bd0085e8
translated package: libiconv
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 define $(PKG)_BUILD |
44c3bd0085e8
translated package: libiconv
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 cd '$(1)' && ./configure \ |
44c3bd0085e8
translated package: libiconv
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 --host='$(TARGET)' \ |
44c3bd0085e8
translated package: libiconv
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 --prefix='$(PREFIX)/$(TARGET)' \ |
44c3bd0085e8
translated package: libiconv
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 --disable-shared \ |
44c3bd0085e8
translated package: libiconv
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 --disable-nls |
44c3bd0085e8
translated package: libiconv
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
24 $(MAKE) -C '$(1)' -j '$(JOBS)' install |
44c3bd0085e8
translated package: libiconv
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 endef |