milis/talimatname/genel/postgresql/talimat

35 lines
750 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: python libxml2 libxslt openldap
name=postgresql
version=9.5.0
release=1
source=( http://ftp.postgresql.org/pub/source/v$version/$name-$version.tar.bz2)
build() {
cd $name-$version
# Hazırlama
sed -i '/DEFAULT_PGSOCKET_DIR/s@/tmp@/run/postgresql@' src/include/pg_config_manual.h
# Yapılandırma
./configure --prefix=/usr \
--mandir=/usr/share/man \
--with-docdir=/usr/share/doc/$name-$version \
--enable-thread-safety
# inşa etme
make
# kurulum
make DESTDIR=$PKG install
make DESTDIR=$PKG install-docs
# servis kur
cd $SRC/$scripts-$scriptsversion
make DESTDIR=$PKG install-$name
}