global: fix path to 'echo' in globash (#1949)
[termux-packages] / packages / global / build.sh
index 4719941..e1e8543 100644 (file)
@@ -1,8 +1,13 @@
-TERMUX_PKG_HOMEPAGE="http://www.gnu.org/software/global/global.html"
-TERMUX_PKG_DESCRIPTION="GNU global source code tag system that works the same way across diverse environments"
-TERMUX_PKG_VERSION=6.5.2
-TERMUX_PKG_SRCURL=http://tamacom.com/global/global-${TERMUX_PKG_VERSION}.tar.gz
-TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-posix-sort=$TERMUX_PREFIX/bin/sort"
+TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/global/
+TERMUX_PKG_DESCRIPTION="Source code search and browse tools"
+TERMUX_PKG_VERSION=6.6.1
+TERMUX_PKG_REVISION=1
+TERMUX_PKG_SRCURL=http://mirrors.kernel.org/gnu/global/global-${TERMUX_PKG_VERSION}.tar.gz
+TERMUX_PKG_SHA256=943dc440382d82454786bfd92b86946961cb2196039eceffd7eb551ac83759e4
+TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
+ac_cv_posix1_2008_realpath=yes
+--with-posix-sort=$TERMUX_PREFIX/bin/sort
+--with-ncurses=$TERMUX_PREFIX
+"
 # coreutils provides the posix sort executable:
-# libtool provides the libltdl.so shared library (but should be split to separate package):
-TERMUX_PKG_DEPENDS="coreutils, libtool, ncurses"
+TERMUX_PKG_DEPENDS="coreutils, ncurses, libltdl"