|
|
@ -3,22 +3,32 @@ TERMUX_PKG_DESCRIPTION="Man pages for linux kernel and C library interfaces" |
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0" |
|
|
|
TERMUX_PKG_VERSION=(4.16 |
|
|
|
2013) |
|
|
|
TERMUX_PKG_REVISION=1 |
|
|
|
TERMUX_PKG_REVISION=2 |
|
|
|
TERMUX_PKG_SHA256=(47ffcc0d27d50e497e290b27e8d76dbed4550db14c881f25b771bcaf28354db4 |
|
|
|
19633a5c75ff7deab35b1d2c3d5b7748e7bd4ef4ab598b647bb7e7f60b90a808) |
|
|
|
TERMUX_PKG_SRCURL=(https://www.kernel.org/pub/linux/docs/man-pages/man-pages-${TERMUX_PKG_VERSION}.tar.xz |
|
|
|
https://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/man-pages-posix-${TERMUX_PKG_VERSION[1]}-a.tar.xz) |
|
|
|
TERMUX_PKG_DEPENDS="man" |
|
|
|
TERMUX_PKG_EXTRA_MAKE_ARGS="prefix=$TERMUX_PREFIX" |
|
|
|
# man.7 and mdoc.7 is included with mandoc: |
|
|
|
# getconf man page included with the getconf package: |
|
|
|
# iconv_open.3 included with libiconv package: |
|
|
|
TERMUX_PKG_RM_AFTER_INSTALL="share/man/man1 share/man/man3/iconv_open.3 share/man/man8 share/man/man7/man.7 share/man/man7/mdoc.7 share/man/man1p/getconf.1p" |
|
|
|
TERMUX_PKG_PLATFORM_INDEPENDENT=true |
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true |
|
|
|
# Problems with changing permissions of non-built files |
|
|
|
TERMUX_MAKE_PROCESSSES=1 |
|
|
|
|
|
|
|
# man.7 and mdoc.7 is included with mandoc: |
|
|
|
# getconf man page included with the getconf package: |
|
|
|
# iconv-related manpages included with libiconv package: |
|
|
|
TERMUX_PKG_RM_AFTER_INSTALL=" |
|
|
|
share/man/man1 |
|
|
|
share/man/man3/iconv.3 |
|
|
|
share/man/man3/iconv_close.3 |
|
|
|
share/man/man3/iconv_open.3 |
|
|
|
share/man/man8 |
|
|
|
share/man/man7/man.7 |
|
|
|
share/man/man7/mdoc.7 |
|
|
|
share/man/man1p/getconf.1p" |
|
|
|
|
|
|
|
|
|
|
|
termux_step_pre_configure() { |
|
|
|
# Bundle posix man pages in same package: |
|
|
|
cd man-pages-posix-2013-a |
|
|
|