void-packages/srcpkgs/postgresql/postgresql-libs.template
Juan RP 6bfc20ab2e postgresql-libs: move so symlink into main pkg.
--HG--
extra : convert_revision : d737d87635f423d6469d14b0efb8301712f42926
2010-04-22 15:05:57 +02:00

22 lines
608 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=2
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
}