Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Commit

Permalink
Add geos, json-c and postgis.
Browse files Browse the repository at this point in the history
  • Loading branch information
tpn committed Feb 15, 2014
1 parent ca33d42 commit 74d0922
Show file tree
Hide file tree
Showing 6 changed files with 93 additions and 0 deletions.
6 changes: 6 additions & 0 deletions geos/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

./configure --prefix=$PREFIX

make
make install
16 changes: 16 additions & 0 deletions geos/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package:
name: geos
version: 3.4.2

source:
fn: geos-3.4.2.tar.bz2
url: http://download.osgeo.org/geos/geos-3.4.2.tar.bz2

build:
number: 0

about:
home: http://trac.osgeo.org/geos/
license: LGPL

# vim:set ts=8 sw=2 sts=2 tw=78 et:
7 changes: 7 additions & 0 deletions json-c/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh

chmod 755 configure
./configure --prefix=$PREFIX

make
make install
16 changes: 16 additions & 0 deletions json-c/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package:
name: json-c
version: 0.11.20130402

source:
fn: json-c-0.11-20130402.zip
url: https://github.com/json-c/json-c/archive/json-c-0.11-20130402.zip

build:
number: 0

about:
home: http://github.com/json-c/json-c
license: GPL?

# vim:set ts=8 sw=2 sts=2 tw=78 et:
16 changes: 16 additions & 0 deletions postgis/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/sh

chmod 755 configure
./configure \
--prefix=$PREFIX \
--with-pgconfig=$PREFIX/bin/pg_config \
--with-gdalconfig=$PREFIX/bin/gdal-config \
--with-xml2config=$PREFIX/bin/xml2-config \
--with-projdir=$PREFIX \
--with-libiconv=$PREFIX \
--with-jsondir=$PREFIX \
--with-raster \
--with-topology

make
make install
32 changes: 32 additions & 0 deletions postgis/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
package:
name: postgis
version: 2.1.1

source:
fn: postgis-2.1.1.tar.gz
url: http://download.osgeo.org/postgis/source/postgis-2.1.1.tar.gz

build:
number: 0

requirements:
build:
- gdal
- geos
- proj4
- json-c
- libxml2
- postgresql
run:
- gdal
- geos
- proj4
- json-c
- libxml2
- postgresql

about:
home: http://postgis.net
license: GPL2

# vim:set ts=8 sw=2 sts=2 tw=78 et:

0 comments on commit 74d0922

Please sign in to comment.