Browse Source

postgresql: Build the fuzzystrmatch extension

android-5
Fredrik Fornwall 7 years ago
parent
commit
81da923cf6
  1. 2
      packages/postgresql/build.sh
  2. 5
      packages/postgresql/postgresql-contrib.subpackage.sh

2
packages/postgresql/build.sh

@ -2,6 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://www.postgresql.org
TERMUX_PKG_DESCRIPTION="Object-relational SQL database"
TERMUX_PKG_MAINTAINER='Vishal Biswas @vishalbiswas'
TERMUX_PKG_VERSION=10.3
TERMUX_PKG_REVISION=1
TERMUX_PKG_SHA256=6ea268780ee35e88c65cdb0af7955ad90b7d0ef34573867f223f14e43467931a
TERMUX_PKG_SRCURL=https://ftp.postgresql.org/pub/source/v$TERMUX_PKG_VERSION/postgresql-$TERMUX_PKG_VERSION.tar.bz2
TERMUX_PKG_DEPENDS="openssl, libcrypt, readline, libandroid-shmem"
@ -42,6 +43,7 @@ termux_step_post_make_install() {
pgrowlocks \
pg_freespacemap \
pg_stat_statements\
fuzzystrmatch \
; do
(cd contrib/$contrib && make -s -j $TERMUX_MAKE_PROCESSES install)
done

5
packages/postgresql/postgresql-contrib.subpackage.sh

@ -1,10 +1,9 @@
TERMUX_SUBPKG_INCLUDE="
lib/postgresql/fuzzystrmatch.so
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*
share/postgresql/extension/
"
TERMUX_SUBPKG_DESCRIPTION="Additional facilities for PostgreSQL"
TERMUX_SUBPKG_DEPENDS="postgresql"

Loading…
Cancel
Save