Mercurial > mxe-octave
annotate src/geos.mk @ 397:69129f67d7a0
update version of packages cairo, geos, libgsasl, pixman and sqlite
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Tue, 16 Jun 2009 22:39:25 +0200 |
parents | 85ffa9259036 |
children | d2a6561bcb6d |
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 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
303
diff
changeset
|
3 PKG := geos |
397
69129f67d7a0
update version of packages cairo, geos, libgsasl, pixman and sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
306
diff
changeset
|
4 $(PKG)_VERSION := 3.1.1 |
69129f67d7a0
update version of packages cairo, geos, libgsasl, pixman and sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
306
diff
changeset
|
5 $(PKG)_CHECKSUM := cafb76a3e5fbcd7d9588d3fdcec8fa4fcd8b9fa4 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
303
diff
changeset
|
6 $(PKG)_SUBDIR := geos-$($(PKG)_VERSION) |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
303
diff
changeset
|
7 $(PKG)_FILE := geos-$($(PKG)_VERSION).tar.bz2 |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
303
diff
changeset
|
8 $(PKG)_WEBSITE := http://trac.osgeo.org/geos/ |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
303
diff
changeset
|
9 $(PKG)_URL := http://download.osgeo.org/geos/$($(PKG)_FILE) |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
303
diff
changeset
|
10 $(PKG)_DEPS := gcc |
165
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
11 |
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 define $(PKG)_UPDATE |
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 wget -q -O- 'http://geos.refractions.net/' | \ |
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
14 $(SED) -n 's,.*geos-\([0-9][^>]*\)\.tar.*,\1,p' | \ |
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 head -1 |
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 endef |
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 |
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 define $(PKG)_BUILD |
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 $(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
|
20 $(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
|
21 $(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
|
22 touch '$(1)/aclocal.m4' |
219
dc72b46ffb67
update version of packages geos and mingwrt
Volker Grabsch <vog@notjusthosting.com>
parents:
202
diff
changeset
|
23 $(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
|
24 touch '$(1)/Makefile.in' |
202
c31beae48adb
avoid unnecessary runs of autoheader
Volker Grabsch <vog@notjusthosting.com>
parents:
201
diff
changeset
|
25 touch '$(1)/source/headers/config.h.in' |
c31beae48adb
avoid unnecessary runs of autoheader
Volker Grabsch <vog@notjusthosting.com>
parents:
201
diff
changeset
|
26 touch '$(1)/source/headers/geos/platform.h.in' |
165
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
27 cd '$(1)' && ./configure \ |
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
28 --host='$(TARGET)' \ |
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
29 --disable-shared \ |
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
30 --prefix='$(PREFIX)/$(TARGET)' \ |
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
31 --disable-swig |
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
32 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
0b4277f483b2
translated package: geos
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
33 endef |