2010-03-02 06:01:46 +01:00
|
|
|
# Template file for 'postgresql-libs'.
|
|
|
|
#
|
|
|
|
short_desc="PostgreSQL shared libraries"
|
|
|
|
long_desc="${long_desc}
|
|
|
|
|
|
|
|
This package provides the shared libraries used by PostgreSQL applications."
|
|
|
|
|
|
|
|
Add_dependency run glibc
|
2010-11-02 08:31:35 +01:00
|
|
|
Add_dependency run libssl
|
2010-03-02 06:01:46 +01:00
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
|
|
|
mkdir -p ${DESTDIR}/usr/lib
|
2010-04-22 15:05:57 +02:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/lib/*.so* ${DESTDIR}/usr/lib
|
2010-03-02 06:01:46 +01:00
|
|
|
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
|
|
|
|
}
|