2010-03-02 06:01:46 +01:00
|
|
|
# Template file for 'postgresql-libs'.
|
|
|
|
#
|
2011-11-12 06:01:02 +01:00
|
|
|
revision=1
|
2010-03-02 06:01:46 +01:00
|
|
|
short_desc="PostgreSQL shared libraries"
|
|
|
|
long_desc="${long_desc}
|
|
|
|
|
|
|
|
This package provides the shared libraries used by PostgreSQL applications."
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|