postgresql: update to 8.4.17; added rudimentary cross build support.
This commit is contained in:
parent
a65b18a0de
commit
0f35b7754f
1 changed files with 14 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'postgresql'
|
# Template file for 'postgresql'
|
||||||
pkgname=postgresql
|
pkgname=postgresql
|
||||||
version=8.4.15
|
version=8.4.17
|
||||||
revision=4
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-docdir=/usr/share/doc --with-openssl --with-python
|
configure_args="--with-docdir=/usr/share/doc --with-openssl --with-python
|
||||||
--with-pam --datadir=/usr/share/postgresql --enable-thread-safety
|
--with-pam --datadir=/usr/share/postgresql --enable-thread-safety
|
||||||
|
@ -13,7 +13,7 @@ maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.postgresql.org"
|
homepage="http://www.postgresql.org"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
distfiles="ftp://ftp.postgresql.org/pub/source/v${version}/${pkgname}-${version}.tar.bz2"
|
distfiles="ftp://ftp.postgresql.org/pub/source/v${version}/${pkgname}-${version}.tar.bz2"
|
||||||
checksum=6a83771bbbdf1ad9c1dd900da3fbfdf6ef75857db8e012f7129a1f865279bc4d
|
checksum=dc884c34ec3535d9f8b579155948a703def0574aca47292b97b82a8189cd0436
|
||||||
long_desc="
|
long_desc="
|
||||||
PostgreSQL is a powerful, open source object-relational database system.
|
PostgreSQL is a powerful, open source object-relational database system.
|
||||||
It has more than 15 years of active development and a proven architecture
|
It has more than 15 years of active development and a proven architecture
|
||||||
|
@ -21,9 +21,14 @@ long_desc="
|
||||||
and correctness."
|
and correctness."
|
||||||
|
|
||||||
hostmakedepends="flex"
|
hostmakedepends="flex"
|
||||||
makedepends="readline-devel openssl-devel perl>=5.16
|
makedepends="libfl-devel readline-devel openssl-devel perl>=5.16
|
||||||
tcl-devel>=8.6 python-devel libxml2-devel libxslt-devel pam-devel"
|
tcl-devel>=8.6 python-devel libxml2-devel libxslt-devel pam-devel"
|
||||||
|
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
CPPFLAGS="-I$XBPS_CROSS_BASE/usr/include/libxml2"
|
||||||
|
configure_args+=" --without-perl --without-python --without-tcl"
|
||||||
|
fi
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall ${FILESDIR}/${pkgname}.confd 644 etc/default ${pkgname}
|
vinstall ${FILESDIR}/${pkgname}.confd 644 etc/default ${pkgname}
|
||||||
vinstall ${FILESDIR}/${pkgname}.service 644 usr/lib/systemd/system
|
vinstall ${FILESDIR}/${pkgname}.service 644 usr/lib/systemd/system
|
||||||
|
@ -72,6 +77,9 @@ postgresql-libs-devel_package() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# XXX disabled for now in cross builds.
|
||||||
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
|
|
||||||
postgresql-plperl_package() {
|
postgresql-plperl_package() {
|
||||||
depends="perl>=5.16 postgresql>=$version"
|
depends="perl>=5.16 postgresql>=$version"
|
||||||
short_desc="PL/Perl procedural language for PostgreSQL"
|
short_desc="PL/Perl procedural language for PostgreSQL"
|
||||||
|
@ -113,6 +121,8 @@ postgresql-pltcl_package() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fi # !CROSS_BUILD
|
||||||
|
|
||||||
postgresql-client_package() {
|
postgresql-client_package() {
|
||||||
short_desc="Client frontends programs for PostgreSQL"
|
short_desc="Client frontends programs for PostgreSQL"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
|
Loading…
Reference in a new issue