mg: Install man page to expected directory
This commit is contained in:
parent
8efb4cf221
commit
467475b03b
12
packages/mg/GNUmakefile.patch
Normal file
12
packages/mg/GNUmakefile.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -u -r ../mg-20180927/GNUmakefile ./GNUmakefile
|
||||||
|
--- ../mg-20180927/GNUmakefile 2018-09-27 20:00:17.000000000 +0000
|
||||||
|
+++ ./GNUmakefile 2018-11-17 23:55:15.804955616 +0000
|
||||||
|
@@ -11,7 +11,7 @@
|
||||||
|
bindir= $(prefix)/bin
|
||||||
|
libdir= $(prefix)/lib
|
||||||
|
includedir= $(prefix)/include
|
||||||
|
-mandir= $(prefix)/man
|
||||||
|
+mandir= $(prefix)/share/man
|
||||||
|
|
||||||
|
PKG_CONFIG= /usr/bin/pkg-config --silence-errors
|
||||||
|
INSTALL= /usr/bin/install
|
@ -1,13 +1,15 @@
|
|||||||
TERMUX_PKG_HOMEPAGE=https://github.com/hboetes/mg
|
TERMUX_PKG_HOMEPAGE=https://github.com/hboetes/mg
|
||||||
TERMUX_PKG_DESCRIPTION="microscopic GNU Emacs-style editor"
|
TERMUX_PKG_DESCRIPTION="microscopic GNU Emacs-style editor"
|
||||||
TERMUX_PKG_VERSION=20180927
|
TERMUX_PKG_VERSION=20180927
|
||||||
TERMUX_PKG_SRCURL=https://github.com/hboetes/mg/archive/$TERMUX_PKG_VERSION.tar.gz
|
|
||||||
TERMUX_PKG_SHA256=fbb09729ea00fe42dcdbc96ac7fc1d2b89eac651dec49e4e7af52fad4f5788f6
|
TERMUX_PKG_SHA256=fbb09729ea00fe42dcdbc96ac7fc1d2b89eac651dec49e4e7af52fad4f5788f6
|
||||||
|
TERMUX_PKG_SRCURL=https://github.com/hboetes/mg/archive/$TERMUX_PKG_VERSION.tar.gz
|
||||||
TERMUX_PKG_DEPENDS="libbsd, ncurses"
|
TERMUX_PKG_DEPENDS="libbsd, ncurses"
|
||||||
TERMUX_PKG_BUILD_IN_SRC=yes
|
TERMUX_PKG_BUILD_IN_SRC=yes
|
||||||
|
|
||||||
termux_step_pre_configure() {
|
termux_step_pre_configure() {
|
||||||
CFLAGS+=" $CPPFLAGS"
|
CFLAGS+=" $CPPFLAGS"
|
||||||
}
|
}
|
||||||
|
|
||||||
termux_step_make_install() {
|
termux_step_make_install() {
|
||||||
make prefix=$PREFIX install
|
make prefix=$PREFIX install
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user