2010-03-02 06:01:46 +01:00
|
|
|
# Template file for 'postgresql-pltcl'.
|
|
|
|
#
|
2012-05-27 13:06:02 +02:00
|
|
|
depends="postgresql>=$version"
|
2010-03-02 06:01:46 +01:00
|
|
|
short_desc="PL/Tcl procedural language for PostgreSQL"
|
|
|
|
long_desc="${long_desc}
|
|
|
|
|
|
|
|
PL/Tcl enables an SQL developer to write procedural language functions for
|
|
|
|
PostgreSQL 8.4 in Tcl. You need this package if you have any PostgreSQL 8.4
|
|
|
|
functions that use the languages pltcl or pltclu."
|
|
|
|
|
|
|
|
|
2012-01-28 12:20:35 +01:00
|
|
|
do_install() {
|
|
|
|
vmove "usr/bin/pltcl*" usr/bin
|
|
|
|
vmove "usr/lib/postgresql/pltcl*" usr/lib/postgresql
|
2010-03-02 06:01:46 +01:00
|
|
|
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
|
2012-01-28 12:20:35 +01:00
|
|
|
vmove "usr/share/postgresql/*.pltcl" usr/share/postgresql
|
2010-03-02 06:01:46 +01:00
|
|
|
}
|