postgresql: Build the fuzzystrmatch extension
authorFredrik Fornwall <fredrik@fornwall.net>
Fri, 6 Apr 2018 23:33:38 +0000 (01:33 +0200)
committerFredrik Fornwall <fredrik@fornwall.net>
Fri, 6 Apr 2018 23:33:38 +0000 (01:33 +0200)
packages/postgresql/build.sh
packages/postgresql/postgresql-contrib.subpackage.sh

index e97d868..c82bba9 100644 (file)
@@ -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
index 34506b5..c1ff281 100644 (file)
@@ -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"