milis/talimatname/genel/postgresql/talimat

35 lines
750 B
Plaintext
Raw Normal View History

2017-04-12 10:58:57 +02:00
# Description: Gelişmiş nesne-ilişkisel veritabanı yönetim sistemi (ORDBMS).
2016-02-24 01:27:23 +01:00
# URL: http://www.postgresql.org/docs
2017-04-12 10:58:57 +02:00
# Packagers: milisarge
2016-02-24 01:27:23 +01:00
# 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
2017-04-12 13:46:06 +02:00
# Hazırlama
2016-02-24 01:27:23 +01:00
sed -i '/DEFAULT_PGSOCKET_DIR/s@/tmp@/run/postgresql@' src/include/pg_config_manual.h
2017-04-12 13:46:06 +02:00
# Yapılandırma
2016-02-24 01:27:23 +01:00
./configure --prefix=/usr \
--mandir=/usr/share/man \
--with-docdir=/usr/share/doc/$name-$version \
--enable-thread-safety
2017-04-12 13:46:06 +02:00
# inşa etme
2016-02-24 01:27:23 +01:00
make
2017-04-12 13:46:06 +02:00
# kurulum
2016-02-24 01:27:23 +01:00
make DESTDIR=$PKG install
make DESTDIR=$PKG install-docs
2017-04-12 13:46:06 +02:00
# servis kur
2016-02-24 01:27:23 +01:00
cd $SRC/$scripts-$scriptsversion
make DESTDIR=$PKG install-$name
}