postgresql-libs: move so symlink into main pkg.

--HG--
extra : convert_revision : d737d87635f423d6469d14b0efb8301712f42926
This commit is contained in:
Juan RP 2010-04-22 15:05:57 +02:00
parent 9b4cde9fe1
commit 6bfc20ab2e
2 changed files with 5 additions and 3 deletions

View file

@ -6,6 +6,8 @@ long_desc="${long_desc}
This package provides the development files required to build any
PostgreSQL application."
revision=1
Add_dependency run glibc
Add_dependency run postgresql-libs
@ -19,7 +21,7 @@ do_install()
${DESTDIR}/usr/share/man/man1
done
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.{a,so} ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/postgresql/pgxs \
${DESTDIR}/usr/lib/postgresql
for d in $(find ${SRCPKGDESTDIR}/usr/share/locale \

View file

@ -5,7 +5,7 @@ long_desc="${long_desc}
This package provides the shared libraries used by PostgreSQL applications."
revision=1
revision=2
Add_dependency run glibc
Add_dependency run openssl
@ -13,7 +13,7 @@ Add_dependency run openssl
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.so.* ${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}})