parent
f53a1a10fa
commit
0ceb6bd159
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'postgresql'
|
||||
pkgname=postgresql
|
||||
version=9.6.10
|
||||
revision=2
|
||||
version=9.6.11
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
make_build_target="world"
|
||||
configure_args="--with-openssl --with-python
|
||||
|
@ -9,20 +9,21 @@ configure_args="--with-openssl --with-python
|
|||
--with-perl --with-tcl --without-ldap --without-gssapi --without-krb5
|
||||
--without-bonjour --with-libxml --with-libxslt --disable-rpath
|
||||
--with-system-tzdata=/usr/share/zoneinfo --enable-nls --with-uuid=e2fs"
|
||||
hostmakedepends="docbook2x flex openjade"
|
||||
makedepends="libfl-devel libressl-devel libuuid-devel libxslt-devel pam-devel perl
|
||||
python-devel readline-devel tcl-devel"
|
||||
short_desc="Sophisticated open-source Object-Relational DBMS"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
homepage="https://www.postgresql.org"
|
||||
license="PostgreSQL"
|
||||
homepage="https://www.postgresql.org"
|
||||
distfiles="https://ftp.postgresql.org/pub/source/v${version}/${pkgname}-${version}.tar.bz2"
|
||||
checksum=8615acc56646401f0ede97a767dfd27ce07a8ae9c952afdb57163b7234fe8426
|
||||
checksum=38250adc69a1e8613fb926c894cda1d01031391a03648894b9a6e13ff354a530
|
||||
|
||||
hostmakedepends="flex docbook docbook2x openjade"
|
||||
makedepends="libfl-devel readline-devel libressl-devel perl
|
||||
tcl-devel python-devel libxml2-devel libxslt-devel pam-devel libuuid-devel"
|
||||
conf_files="
|
||||
/etc/default/${pkgname}
|
||||
/etc/pam.d/${pkgname}
|
||||
/etc/${pkgname}/${pkgname}.conf"
|
||||
|
||||
# Create 'postgres' user for the server.
|
||||
system_accounts="postgres"
|
||||
postgres_homedir="/var/lib/${pkgname}"
|
||||
|
@ -38,9 +39,11 @@ pre_build() {
|
|||
# http://www.postgresql.org/docs/9.3/static/docguide-toolsets.html
|
||||
export SGML_CATALOG_FILES="/usr/share/sgml/openjade/catalog:/usr/share/sgml/iso8879/catalog:/usr/share/sgml/docbook/dsssl/modular/catalog:/usr/share/sgml/docbook/4.2/catalog"
|
||||
}
|
||||
|
||||
post_build() {
|
||||
make -C contrib ${makejobs}
|
||||
}
|
||||
|
||||
post_install() {
|
||||
make -C contrib install
|
||||
|
||||
|
@ -67,6 +70,7 @@ postgresql-doc_package() {
|
|||
vmove usr/share/doc
|
||||
}
|
||||
}
|
||||
|
||||
postgresql-libs_package() {
|
||||
short_desc="PostgreSQL shared libraries"
|
||||
pkg_install() {
|
||||
|
@ -78,6 +82,7 @@ postgresql-libs_package() {
|
|||
done
|
||||
}
|
||||
}
|
||||
|
||||
postgresql-libs-devel_package() {
|
||||
depends="postgresql-libs>=$version"
|
||||
short_desc="PostgreSQL shared libraries (development files)"
|
||||
|
@ -114,6 +119,7 @@ postgresql-plperl_package() {
|
|||
done
|
||||
}
|
||||
}
|
||||
|
||||
postgresql-plpython_package() {
|
||||
depends="postgresql>=$version"
|
||||
short_desc="PL/Python procedural language for PostgreSQL"
|
||||
|
@ -126,6 +132,7 @@ postgresql-plpython_package() {
|
|||
done
|
||||
}
|
||||
}
|
||||
|
||||
postgresql-pltcl_package() {
|
||||
depends="postgresql>=$version"
|
||||
short_desc="PL/Tcl procedural language for PostgreSQL"
|
||||
|
@ -165,6 +172,7 @@ postgresql-client_package() {
|
|||
${PKGDESTDIR}/usr/share/postgresql
|
||||
}
|
||||
}
|
||||
|
||||
postgresql-contrib_package() {
|
||||
short_desc="PostgreSQL contributed programs and extensions"
|
||||
pkg_install() {
|
||||
|
|
Loading…
Reference in New Issue