postgresql: fix doc installation (thanks Romster and Rotwang)

This commit is contained in:
Thomas Penteker 2011-12-11 22:50:41 +01:00
parent 30019fb6ea
commit 09828209d4

View File

@ -12,14 +12,13 @@ source=(ftp://ftp9.de.postgresql.org/unix/databases/postgresql/source/v$version/
build() {
cd $name-$version
./configure --prefix=/usr --disable-nls --mandir=$PKG/usr/man
./configure --prefix=/usr --disable-nls --mandir=/usr/man
make
make DESTDIR=$PKG install
cd doc/src/sgml
make install-man
make DESTDIR=$PKG install-man
rm -rf $PKG/usr/share/doc
mkdir -p $PKG/etc/rc.d/
install -D -m 755 $SRC/postgresql $PKG/etc/rc.d/postgresql
}