2009-01-12 23:53:18 +01:00
|
|
|
# Description: A sophisticated Object-Relational DBMS
|
2010-09-20 19:53:25 +02:00
|
|
|
# URL: http://www.postgresql.org
|
|
|
|
# Packager: Markus Heinz, su1690 at studserver.uni-dortmund dot de
|
2009-01-12 23:53:18 +01:00
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
2013-04-08 23:36:40 +02:00
|
|
|
# Depends on: openssl
|
2009-01-12 23:53:18 +01:00
|
|
|
|
|
|
|
name=postgresql
|
2016-10-02 20:51:37 +02:00
|
|
|
version=9.6.0
|
2013-09-09 16:29:14 +02:00
|
|
|
release=1
|
2015-01-25 22:56:46 +01:00
|
|
|
source=(https://ftp.postgresql.org/pub/source/v$version/postgresql-$version.tar.bz2 postgresql)
|
2009-01-12 23:53:18 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
|
2015-12-19 15:27:55 +01:00
|
|
|
./configure --prefix=/usr --with-openssl
|
2009-01-12 23:53:18 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2010-09-20 19:53:25 +02:00
|
|
|
|
|
|
|
cd doc/src/sgml
|
2011-12-11 22:50:41 +01:00
|
|
|
make DESTDIR=$PKG install-man
|
2009-07-02 19:29:44 +02:00
|
|
|
rm -rf $PKG/usr/share/doc
|
2009-01-12 23:53:18 +01:00
|
|
|
|
2010-09-20 19:53:25 +02:00
|
|
|
install -D -m 755 $SRC/postgresql $PKG/etc/rc.d/postgresql
|
2009-01-12 23:53:18 +01:00
|
|
|
}
|