postgresql: update to 8.4.10, systemd switch.

This commit is contained in:
Juan RP 2012-01-28 12:20:35 +01:00
parent 782694cd41
commit f151ae9f47
13 changed files with 101 additions and 173 deletions

View file

@ -1,6 +1,5 @@
# Template file for 'postgresql-pltcl'.
#
revision=1
short_desc="PL/Tcl procedural language for PostgreSQL"
long_desc="${long_desc}
@ -10,19 +9,13 @@ long_desc="${long_desc}
Add_dependency run postgresql
do_install()
{
mkdir -p ${DESTDIR}/usr/bin ${DESTDIR}/usr/lib/postgresql \
${DESTDIR}/usr/share/postgresql
mv ${SRCPKGDESTDIR}/usr/bin/pltcl* ${DESTDIR}/usr/bin
mv ${SRCPKGDESTDIR}/usr/lib/postgresql/pltcl* \
${DESTDIR}/usr/lib/postgresql
do_install() {
vmove "usr/bin/pltcl*" usr/bin
vmove "usr/lib/postgresql/pltcl*" usr/lib/postgresql
for d in $(find ${SRCPKGDESTDIR}/usr/share/locale \
-type f -name pltcl\*); do
mkdir -p ${DESTDIR}/$(dirname ${d#${SRCPKGDESTDIR}})
mv ${d} ${DESTDIR}/$(dirname ${d#${SRCPKGDESTDIR}})
done
mv ${SRCPKGDESTDIR}/usr/share/postgresql/*.pltcl \
${DESTDIR}/usr/share/postgresql
vmove "usr/share/postgresql/*.pltcl" usr/share/postgresql
}