Mercurial > mxe-octave
annotate src/libgpg_error.mk @ 265:5bf9071e67b6
put all package's project websites into Make variables $($(PKG)_WEBSITE)
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Sun, 01 Mar 2009 16:35:21 +0100 |
parents | 9f735e19194c |
children | 85ffa9259036 |
rev | line source |
---|---|
138
78553e232e35
translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
1 # libgpg-error |
78553e232e35
translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
2 |
78553e232e35
translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
3 PKG := libgpg_error |
193
9f735e19194c
update version of packages curl, gdal, geos, libgpg_error and sdl_image
Volker Grabsch <vog@notjusthosting.com>
parents:
138
diff
changeset
|
4 $(PKG)_VERSION := 1.7 |
138
78553e232e35
translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
5 $(PKG)_SUBDIR := libgpg-error-$($(PKG)_VERSION) |
78553e232e35
translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
6 $(PKG)_FILE := libgpg-error-$($(PKG)_VERSION).tar.bz2 |
265
5bf9071e67b6
put all package's project websites into Make variables $($(PKG)_WEBSITE)
Volker Grabsch <vog@notjusthosting.com>
parents:
193
diff
changeset
|
7 $(PKG)_WEBSITE := ftp://ftp.gnupg.org/gcrypt/libgpg-error/ |
138
78553e232e35
translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
8 $(PKG)_URL := ftp://ftp.gnupg.org/gcrypt/libgpg-error/$($(PKG)_FILE) |
78553e232e35
translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
9 $(PKG)_DEPS := gcc |
78553e232e35
translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
10 |
78553e232e35
translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
11 define $(PKG)_UPDATE |
78553e232e35
translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 wget -q -O- 'ftp://ftp.gnupg.org/gcrypt/libgpg-error/' | \ |
78553e232e35
translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 $(SED) -n 's,.*libgpg-error-\([0-9][^>]*\)\.tar.*,\1,p' | \ |
78553e232e35
translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
14 tail -1 |
78553e232e35
translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 endef |
78553e232e35
translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 |
78553e232e35
translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 define $(PKG)_BUILD |
78553e232e35
translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 # wine confuses the cross-compiling detection, so set it explicitly |
78553e232e35
translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 $(SED) 's,cross_compiling=no,cross_compiling=yes,' -i '$(1)/configure' |
78553e232e35
translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 cd '$(1)' && ./configure \ |
78553e232e35
translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 --host='$(TARGET)' \ |
78553e232e35
translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 --disable-shared \ |
78553e232e35
translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 --prefix='$(PREFIX)/$(TARGET)' |
78553e232e35
translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
24 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
78553e232e35
translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 endef |