64 lines
1.7 KiB
Bash
64 lines
1.7 KiB
Bash
# Template file for 'postgresql'
|
|
pkgname=postgresql
|
|
version=14
|
|
revision=2
|
|
build_style=meta
|
|
depends="postgresql${version}"
|
|
short_desc="PostgreSQL server meta package"
|
|
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
|
|
license="PostgreSQL"
|
|
homepage="https://www.postgresql.org"
|
|
|
|
build_options="languages"
|
|
desc_option_languages="Include procedural languages as dependency"
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="languages"
|
|
fi
|
|
|
|
subpackages="postgresql-doc postgresql-client postgresql-contrib postgresql-full"
|
|
|
|
# XXX disabled for now in cross builds.
|
|
if [ "$build_option_languages" ]; then
|
|
subpackages+=" postgresql-plperl postgresql-plpython postgresql-pltcl"
|
|
fi
|
|
|
|
postgresql-doc_package() {
|
|
depends="postgresql${version}-doc"
|
|
short_desc="PostgreSQL documentation meta package"
|
|
}
|
|
|
|
postgresql-plperl_package() {
|
|
depends="postgresql${version}-plperl"
|
|
short_desc="PL/Perl language meta package"
|
|
}
|
|
|
|
postgresql-plpython_package() {
|
|
depends="postgresql${version}-plpython"
|
|
short_desc="PL/Python language meta package"
|
|
}
|
|
|
|
postgresql-pltcl_package() {
|
|
depends="postgresql${version}-pltcl"
|
|
short_desc="PL/Tcl language meta package"
|
|
}
|
|
|
|
postgresql-client_package() {
|
|
depends="postgresql${version}-client"
|
|
short_desc="Client frontends programs for PostgreSQL"
|
|
}
|
|
|
|
postgresql-contrib_package() {
|
|
depends="postgresql${version}-contrib"
|
|
short_desc="PostgreSQL contributed programs and extensions"
|
|
}
|
|
|
|
postgresql-full_package() {
|
|
depends="postgresql postgresql-client postgresql-doc postgresql-contrib postgresql-libs"
|
|
short_desc="PostgreSQL all packages meta package"
|
|
|
|
if [ "$build_option_languages" ]; then
|
|
depends+=" postgresql-plpython postgresql-plperl postgresql-pltcl"
|
|
fi
|
|
}
|