Mercurial > mxe-octave
comparison src/postgresql.mk @ 2789:f20bbf45b91a
update package postgresql
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Wed, 26 Sep 2012 15:56:53 +0200 |
parents | cc9a2cdaa9d5 |
children | 47558e958113 |
comparison
equal
deleted
inserted
replaced
2788:eaa3134bbca4 | 2789:f20bbf45b91a |
---|---|
1 # This file is part of MXE. | 1 # This file is part of MXE. |
2 # See index.html for further information. | 2 # See index.html for further information. |
3 | 3 |
4 PKG := postgresql | 4 PKG := postgresql |
5 $(PKG)_IGNORE := | 5 $(PKG)_IGNORE := |
6 $(PKG)_CHECKSUM := 6ab154052dd62bb9b0cf2cd666384f7b25eefaf5 | 6 $(PKG)_CHECKSUM := cea9601b3acd1484fd98441b49a15ea1c42057ec |
7 $(PKG)_SUBDIR := postgresql-$($(PKG)_VERSION) | 7 $(PKG)_SUBDIR := postgresql-$($(PKG)_VERSION) |
8 $(PKG)_FILE := postgresql-$($(PKG)_VERSION).tar.bz2 | 8 $(PKG)_FILE := postgresql-$($(PKG)_VERSION).tar.bz2 |
9 $(PKG)_URL := http://ftp.postgresql.org/pub/source/v$($(PKG)_VERSION)/$($(PKG)_FILE) | 9 $(PKG)_URL := http://ftp.postgresql.org/pub/source/v$($(PKG)_VERSION)/$($(PKG)_FILE) |
10 $(PKG)_DEPS := gcc zlib openssl | 10 $(PKG)_DEPS := gcc zlib openssl |
11 | 11 |
12 define $(PKG)_UPDATE | 12 define $(PKG)_UPDATE |
13 $(WGET) -q -O- 'http://git.postgresql.org/gitweb?p=postgresql.git;a=tags' | \ | 13 $(WGET) -q -O- 'http://git.postgresql.org/gitweb?p=postgresql.git;a=tags' | \ |
14 grep 'refs/tags/REL9[0-9_]*"' | \ | 14 grep 'refs/tags/REL9[0-9_]*"' | \ |
15 $(SED) 's,.*refs/tags/REL\(.*\)".*,\1,g;' | \ | 15 $(SED) 's,.*refs/tags/REL\(.*\)".*,\1,g;' | \ |
16 $(SED) 's,_,.,g' | \ | 16 $(SED) 's,_,.,g' | \ |
17 grep -v '^9\.\0' | \ | 17 grep -v '^9\.[01]' | \ |
18 head -1 | 18 head -1 |
19 endef | 19 endef |
20 | 20 |
21 define $(PKG)_BUILD | 21 define $(PKG)_BUILD |
22 cd '$(1)' && autoconf | 22 cd '$(1)' && autoconf |