vp-build/srcpkgs/postgresql/postgresql-plperl.template
Juan RP 888834d9c5 Added postgresql-8.4.2 build template.
--HG--
extra : convert_revision : bc2fb198b40e73611b230fdd576883f7cb1c0a06
2010-03-02 06:01:46 +01:00

25 lines
753 B
Plaintext

# Template file for 'postgresql-plperl'.
#
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."
Add_dependency run glibc
Add_dependency run postgresql
Add_dependency run perl
do_install()
{
mkdir -p ${DESTDIR}/usr/lib/postgresql
mv ${SRCPKGDESTDIR}/usr/lib/postgresql/plperl* \
${DESTDIR}/usr/lib/postgresql
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
}