Added postgresql-8.4.2 build template.
--HG-- extra : convert_revision : bc2fb198b40e73611b230fdd576883f7cb1c0a06
This commit is contained in:
parent
96a0926cce
commit
888834d9c5
20 changed files with 438 additions and 0 deletions
30
srcpkgs/postgresql/postgresql-libs-devel.template
Normal file
30
srcpkgs/postgresql/postgresql-libs-devel.template
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Template file for 'postgresql-libs-devel'.
|
||||
#
|
||||
short_desc="PostgreSQL shared libraries (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package provides the development files required to build any
|
||||
PostgreSQL application."
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run postgresql-libs
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib/postgresql ${DESTDIR}/usr/bin \
|
||||
${DESTDIR}/usr/share/man/man1
|
||||
for f in pg_config ecpg; do
|
||||
mv ${SRCPKGDESTDIR}/usr/bin/${f} ${DESTDIR}/usr/bin
|
||||
mv ${SRCPKGDESTDIR}/usr/share/man/man1/${f}* \
|
||||
${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/postgresql/pgxs \
|
||||
${DESTDIR}/usr/lib/postgresql
|
||||
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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue