2010-03-02 05:01:46 +00:00
|
|
|
# Template file for 'postgresql-libs-devel'.
|
|
|
|
#
|
2012-05-27 11:06:02 +00:00
|
|
|
depends="postgresql-libs>=$version"
|
2010-03-02 05:01:46 +00:00
|
|
|
short_desc="PostgreSQL shared libraries (development files)"
|
|
|
|
long_desc="${long_desc}
|
|
|
|
|
|
|
|
This package provides the development files required to build any
|
|
|
|
PostgreSQL application."
|
|
|
|
|
2012-01-28 11:20:35 +00:00
|
|
|
do_install() {
|
2010-03-02 05:01:46 +00:00
|
|
|
for f in pg_config ecpg; do
|
2012-01-28 11:20:35 +00:00
|
|
|
vmove usr/bin/${f} usr/bin
|
|
|
|
vmove "usr/share/man/man1/${f}*" usr/share/man/man1
|
2010-03-02 05:01:46 +00:00
|
|
|
done
|
2012-01-28 11:20:35 +00:00
|
|
|
vmove usr/include usr
|
|
|
|
vmove "usr/lib/*.a" usr/lib
|
|
|
|
vmove usr/lib/postgresql/pgxs usr/lib/postgresql
|
2010-03-02 05:01:46 +00:00
|
|
|
for d in $(find ${SRCPKGDESTDIR}/usr/share/locale \
|
|
|
|
-type f -name pg_config\* -o -name ecpg\*); do
|
|
|
|
mkdir -p ${DESTDIR}/$(dirname ${d#${SRCPKGDESTDIR}})
|
|
|
|
mv ${d} ${DESTDIR}/$(dirname ${d#${SRCPKGDESTDIR}})
|
|
|
|
done
|
|
|
|
}
|