Browse Source

postgresql: Package some contrib/ extensions

android-5
Fredrik Fornwall 8 years ago
parent
commit
40868b30a6
  1. 7
      disabled-packages/postgresql/build.sh
  2. 10
      disabled-packages/postgresql/postgresql-contrib.subpackage.sh

7
disabled-packages/postgresql/build.sh

@ -17,3 +17,10 @@ TERMUX_PKG_EXTRA_MAKE_ARGS=" -s"
termux_step_pre_configure () {
LDFLAGS+=" -llog"
}
termux_step_post_make_install() {
# Sync with postgresql-contrib.subpackage.sh.
for contrib in hstore pgcrypto pg_stat_statements; do
(cd contrib/$contrib && make -s -j $TERMUX_MAKE_PROCESSES install)
done
}

10
disabled-packages/postgresql/postgresql-contrib.subpackage.sh

@ -0,0 +1,10 @@
TERMUX_SUBPKG_INCLUDE="
lib/postgresql/hstore.so
lib/postgresql/pgcrypto.so
lib/postgresql/pg_stat_statements.so
share/postgresql/extension/hstore*
share/postgresql/extension/pgcrypto*
share/postgresql/extension/pg_stat_statements*
"
TERMUX_SUBPKG_DESCRIPTION="Additional facilities for PostgreSQL"
TERMUX_SUBPKG_DEPENDS="postgresql"
Loading…
Cancel
Save