2010-03-02 06:01:46 +01:00
|
|
|
# Template file for 'postgresql-libs-devel'.
|
|
|
|
#
|
2012-05-27 13:06:02 +02:00
|
|
|
depends="postgresql-libs>=$version"
|
2010-03-02 06:01:46 +01: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 12:20:35 +01:00
|
|
|
do_install() {
|
2010-03-02 06:01:46 +01:00
|
|
|
for f in pg_config ecpg; do
|
2012-01-28 12:20:35 +01:00
|
|
|
vmove usr/bin/${f} usr/bin
|
|
|
|
vmove "usr/share/man/man1/${f}*" usr/share/man/man1
|
2010-03-02 06:01:46 +01:00
|
|
|
done
|
2012-01-28 12:20:35 +01:00
|
|
|
vmove usr/include usr
|
|
|
|
vmove "usr/lib/*.a" usr/lib
|
|
|
|
vmove usr/lib/postgresql/pgxs usr/lib/postgresql
|
2010-03-02 06:01:46 +01: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
|
|
|
|
}
|