Mercurial > mxe-octave
annotate src/geos.mk @ 303:dd981878de18
update version of packages geos, libgsasl and libidn
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Sat, 04 Apr 2009 11:11:19 +0200 |
parents | 5bf9071e67b6 |
children | 85ffa9259036 |
rev | line source |
---|---|
165
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
1 # GEOS |
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
2 |
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
3 PKG := geos |
303
dd981878de18
update version of packages geos, libgsasl and libidn
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
4 $(PKG)_VERSION := 3.1.0 |
165
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
5 $(PKG)_SUBDIR := geos-$($(PKG)_VERSION) |
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
6 $(PKG)_FILE := geos-$($(PKG)_VERSION).tar.bz2 |
265
5bf9071e67b6
put all package's project websites into Make variables $($(PKG)_WEBSITE)
Volker Grabsch <vog@notjusthosting.com>
parents:
219
diff
changeset
|
7 $(PKG)_WEBSITE := http://trac.osgeo.org/geos/ |
176
f880a27a0e9e
fixed download URLs of packages 'geos', 'libgeotiff', 'proj', 'tiff', 'w32api'
Volker Grabsch <vog@notjusthosting.com>
parents:
165
diff
changeset
|
8 $(PKG)_URL := http://download.osgeo.org/geos/$($(PKG)_FILE) |
165
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
9 $(PKG)_DEPS := gcc |
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
10 |
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
11 define $(PKG)_UPDATE |
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 wget -q -O- 'http://geos.refractions.net/' | \ |
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 $(SED) -n 's,.*geos-\([0-9][^>]*\)\.tar.*,\1,p' | \ |
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
14 head -1 |
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 endef |
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 |
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 define $(PKG)_BUILD |
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 $(SED) 's,-lgeos,-lgeos -lstdc++,' -i '$(1)/tools/geos-config.in' |
180
c3809e9ba044
bugfix in package geos to make the autoconf macro GEOS_INIT (used by package gdal) work
Volker Grabsch <vog@notjusthosting.com>
parents:
178
diff
changeset
|
19 $(SED) 's,-L\$${libdir}$$,-L$${libdir} -lgeos -lstdc++,' -i '$(1)/tools/geos-config.in' |
219
dc72b46ffb67
update version of packages geos and mingwrt
Volker Grabsch <vog@notjusthosting.com>
parents:
202
diff
changeset
|
20 $(SED) 's,\$$WARNFLAGS -ansi,\$$WARNFLAGS,' -i '$(1)/configure.in' |
201
b1514e8e767a
avoid unnecessary runs of aclocal, autoconf, automake after changing configure and configure.in
Volker Grabsch <vog@notjusthosting.com>
parents:
199
diff
changeset
|
21 touch '$(1)/aclocal.m4' |
219
dc72b46ffb67
update version of packages geos and mingwrt
Volker Grabsch <vog@notjusthosting.com>
parents:
202
diff
changeset
|
22 $(SED) 's,\$$WARNFLAGS -ansi,\$$WARNFLAGS,' -i '$(1)/configure' |
201
b1514e8e767a
avoid unnecessary runs of aclocal, autoconf, automake after changing configure and configure.in
Volker Grabsch <vog@notjusthosting.com>
parents:
199
diff
changeset
|
23 touch '$(1)/Makefile.in' |
202
c31beae48adb
avoid unnecessary runs of autoheader
Volker Grabsch <vog@notjusthosting.com>
parents:
201
diff
changeset
|
24 touch '$(1)/source/headers/config.h.in' |
c31beae48adb
avoid unnecessary runs of autoheader
Volker Grabsch <vog@notjusthosting.com>
parents:
201
diff
changeset
|
25 touch '$(1)/source/headers/geos/platform.h.in' |
165
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
26 cd '$(1)' && ./configure \ |
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
27 --host='$(TARGET)' \ |
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
28 --disable-shared \ |
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
29 --prefix='$(PREFIX)/$(TARGET)' \ |
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
30 --disable-swig |
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
31 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
32 endef |