milis/talimatname/genel/p/postgresql/talimat

27 lines
657 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.

# Tanım: Gelişmiş nesne-ilişkisel veritabanı yönetim sistemi (ORDBMS).
# URL: http://www.postgresql.org/docs
# Paketçi: milisarge
# Gerekler:
# Grup: sistem
isim=postgresql
surum=9.6.3
devir=1
kaynak=(https://ftp.postgresql.org/pub/source/v$surum/postgresql-$surum.tar.bz2)
derle() {
cd $isim-$surum
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-$isim
}