pakur.sh 846 B

12345678910111213141516171819202122232425
  1. make DESTDIR="${PKG}" install
  2. make -C contrib DESTDIR="${PKG}" install
  3. make -C doc/src/sgml DESTDIR="${PKG}" install-man
  4. # install plpython3
  5. mv src/Makefile.global src/Makefile.global.save
  6. cp src/Makefile.global.python3 src/Makefile.global
  7. touch -r src/Makefile.global.save src/Makefile.global
  8. make -C src/pl/plpython3 DESTDIR="${PKG}" install
  9. make -C contrib/hstore_plpython3 DESTDIR="${PKG}" install
  10. make -C contrib/ltree_plpython3 DESTDIR="${PKG}" install
  11. for util in pg_config pg_dump pg_dumpall pg_restore psql \
  12. clusterdb createdb createuser dropdb dropuser pg_isready reindexdb vacuumdb; do
  13. rm "${PKG}"/usr/share/man/man1/${util}.1
  14. done
  15. cd "${SRC}"
  16. install -Dm 755 postgresql-check-db-dir -t "${PKG}/usr/bin"
  17. install -Dm 644 ${isim}.pam "${PKG}/etc/pam.d/${isim}"
  18. install -Dm 644 ${isim}.logrotate "${PKG}/etc/logrotate.d/${isim}"