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."
|
|
|
|
|
2010-04-22 15:05:57 +02:00
|
|
|
revision=2
|
2010-04-09 18:29:18 +02:00
|
|
|
|
2010-03-02 06:01:46 +01:00
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run openssl
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|