milis/talimatname/genel/postgresql/talimat

26 lines
660 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
2017-06-09 06:01:38 +02:00
# Depends on:
2016-02-24 01:27:23 +01:00
name=postgresql
2017-06-09 06:01:38 +02:00
version=9.6.3
2016-02-24 01:27:23 +01:00
release=1
2017-06-09 06:01:38 +02:00
source=(https://ftp.postgresql.org/pub/source/v$version/postgresql-$version.tar.bz2)
2016-02-24 01:27:23 +01:00
build() {
2017-06-09 06:01:38 +02:00
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
2016-02-24 01:27:23 +01:00
}