2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.kernel.org/doc/man-pages/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Man pages for linux kernel and C library interfaces"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-09-01 05:09:45 +02:00
|
|
|
TERMUX_PKG_VERSION=(5.13
|
|
|
|
2017)
|
|
|
|
TERMUX_PKG_SHA256=(614dae3efe7dfd480986763a2a2a8179215032a5a4526c0be5e899a25f096b8b
|
|
|
|
ce67bb25b5048b20dad772e405a83f4bc70faf051afa289361c81f9660318bc3)
|
2018-06-13 02:15:26 +02:00
|
|
|
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)
|
2017-10-14 23:42:32 +02:00
|
|
|
TERMUX_PKG_DEPENDS="man"
|
2020-11-10 20:43:07 +01:00
|
|
|
TERMUX_PKG_CONFLICTS="linux-man-pages"
|
|
|
|
TERMUX_PKG_REPLACES="linux-man-pages"
|
|
|
|
TERMUX_PKG_PROVIDES="linux-man-pages"
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_EXTRA_MAKE_ARGS="prefix=$TERMUX_PREFIX"
|
|
|
|
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2017-05-23 18:33:15 +02:00
|
|
|
# Problems with changing permissions of non-built files
|
|
|
|
TERMUX_MAKE_PROCESSSES=1
|
2015-06-13 01:03:31 +02:00
|
|
|
|
2019-05-06 22:03:44 +02:00
|
|
|
# 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"
|
|
|
|
|
|
|
|
|
2016-10-19 23:21:11 +02:00
|
|
|
termux_step_pre_configure() {
|
2019-12-21 17:08:12 +01:00
|
|
|
export TERMUX_MAKE_PROCESSES=1
|
|
|
|
|
2016-10-19 23:21:11 +02:00
|
|
|
# Bundle posix man pages in same package:
|
2021-09-01 05:18:46 +02:00
|
|
|
cd man-pages-posix-${TERMUX_PKG_VERSION[1]}
|
2016-10-19 23:21:11 +02:00
|
|
|
make install
|
2015-06-13 01:03:31 +02:00
|
|
|
}
|