milis/talimatname/genel/postgresql/talimat

26 lines
660 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: Gelişmiş nesne-ilişkisel veritabanı yönetim sistemi (ORDBMS).
# URL: http://www.postgresql.org/docs
# Packagers: milisarge
# Depends on:
name=postgresql
version=9.6.3
release=1
source=(https://ftp.postgresql.org/pub/source/v$version/postgresql-$version.tar.bz2)
build() {
cd $name-$version
sed -i '/DEFAULT_PGSOCKET_DIR/s@/tmp@/run/postgresql@' src/include/pg_config_manual.h &&
./configure --prefix=/usr \
--enable-thread-safety \
--with-openssl
make
make DESTDIR=$PKG install
cd doc/src/sgml
make DESTDIR=$PKG install-man
rm -rf $PKG/usr/share/doc
cd /sources/milis.git/ayarlar/servisler
make DESTDIR=$PKG kur-$name
}