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