# Recipe for version 12.2 by Lucas C. Villa Real , on Thu 02 Apr 2020 10:57:12 AM BRT # Recipe (MakeRecipe) for PostgreSQL by Maglan C. Diemer, maglan@univates.br, on Qui Dez 8 19:22:05 BRST 2005 compile_version=1.8.0 url="https://ftp.postgresql.org/pub/source/v12.2/postgresql-12.2.tar.bz2" file_size=20363545 file_md5=a88ceea8ecf2741307f663e4539b58b7 recipe_type=configure build_target="world" install_target="install install-world" configure_options=( "--with-perl" "--with-python" "--with-tcl" "--with-openssl" ) pre_install() { if ! grep -q postgres $goboSettings/group then Log_Normal "Adding group postgres" groupadd postgres fi if ! grep -q "postgres:x:" $goboSettings/passwd then Log_Normal "Adding user postgres" useradd postgres -g postgres -c 'Added by Compile for PostgreSQL' -d $variable_target/PostgreSQL -s $goboExecutables/zsh fi }