25 lines
632 B
Plaintext
25 lines
632 B
Plaintext
# Description: A sophisticated Object-Relational DBMS
|
|
# URL: http://www.postgresql.org
|
|
# Packager: Markus Heinz, su1690 at studserver.uni-dortmund dot de
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
|
# Depends on: openssl
|
|
|
|
name=postgresql
|
|
version=11.4
|
|
release=1
|
|
source=(https://ftp.postgresql.org/pub/source/v$version/postgresql-$version.tar.bz2 postgresql)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
./configure --prefix=/usr --with-openssl
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
cd doc/src/sgml
|
|
make DESTDIR=$PKG install-man
|
|
rm -rf $PKG/usr/share/doc
|
|
|
|
install -D -m 755 $SRC/postgresql $PKG/etc/rc.d/postgresql
|
|
}
|