2010-03-02 05:01:46 +00: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-11-02 07:31:35 +00:00
|
|
|
revision=1
|
|
|
|
|
2010-03-02 05:01:46 +00:00
|
|
|
Add_dependency run glibc
|
2010-11-02 07:31:35 +00:00
|
|
|
Add_dependency run libssl
|
2010-03-02 05:01:46 +00:00
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
|
|
|
mkdir -p ${DESTDIR}/usr/lib
|
2010-04-22 13:05:57 +00:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/lib/*.so* ${DESTDIR}/usr/lib
|
2010-03-02 05:01:46 +00: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
|
|
|
|
}
|