void-packages/srcpkgs/postgresql/postgresql-libs.template
Juan RP d020e43ac9 Bump revision after openssl abi_depends update.
--HG--
extra : convert_revision : 959459dfd308499581def2c41d978adca81bda77
2010-04-09 18:29:18 +02:00

22 lines
609 B
Text

# Template file for 'postgresql-libs'.
#
short_desc="PostgreSQL shared libraries"
long_desc="${long_desc}
This package provides the shared libraries used by PostgreSQL applications."
revision=1
Add_dependency run glibc
Add_dependency run openssl
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.so.* ${DESTDIR}/usr/lib
for d in $(find ${SRCPKGDESTDIR}/usr/share/locale \
-type f -name libpq5\*); do
mkdir -p ${DESTDIR}/$(dirname ${d#${SRCPKGDESTDIR}})
mv ${d} ${DESTDIR}/$(dirname ${d#${SRCPKGDESTDIR}})
done
}