2010-03-02 06:01:46 +01:00
|
|
|
# Template file for 'postgresql-plpython'.
|
|
|
|
#
|
|
|
|
short_desc="PL/Python procedural language for PostgreSQL"
|
|
|
|
long_desc="${long_desc}
|
|
|
|
|
|
|
|
PL/Tcl enables an SQL developer to write procedural language functions for
|
|
|
|
PostgreSQL 8.4 in Python. You need this package if you have any PostgreSQL 8.4
|
|
|
|
functions that use the languages plpython or plpythonu."
|
|
|
|
|
|
|
|
Add_dependency run postgresql
|
|
|
|
|
2012-01-28 12:20:35 +01:00
|
|
|
do_install() {
|
|
|
|
vmove "usr/lib/postgresql/plpython*" usr/lib/postgresql
|
2010-03-02 06:01:46 +01:00
|
|
|
for d in $(find ${SRCPKGDESTDIR}/usr/share/locale \
|
|
|
|
-type f -name plpython\*); do
|
|
|
|
mkdir -p ${DESTDIR}/$(dirname ${d#${SRCPKGDESTDIR}})
|
|
|
|
mv ${d} ${DESTDIR}/$(dirname ${d#${SRCPKGDESTDIR}})
|
|
|
|
done
|
|
|
|
}
|