nodejs: Update from 6.9.3 to 6.9.4
[termux-packages] / packages / man / build.sh
CommitLineData
59f0d218
FF
1TERMUX_PKG_HOMEPAGE=http://mdocml.bsd.lv/
2TERMUX_PKG_DESCRIPTION="Man page viewer from the mandoc toolset"
163a8808 3TERMUX_PKG_VERSION=1.13.4
80c266a7 4TERMUX_PKG_BUILD_REVISION=3
b9f38440 5TERMUX_PKG_SRCURL=https://fossies.org/linux/misc/mdocml-${TERMUX_PKG_VERSION}.tar.xz
0b2c0e57 6TERMUX_PKG_DEPENDS="less,libandroid-glob,libsqlite"
59f0d218
FF
7TERMUX_PKG_BUILD_IN_SRC=yes
8TERMUX_PKG_RM_AFTER_INSTALL="share/examples"
9
10termux_step_post_extract_package () {
11 cd $TERMUX_PKG_SRCDIR
12 LDFLAGS+=" -landroid-glob"
13 echo "PREFIX=\"$TERMUX_PREFIX\"" > configure.local
14 echo "MANDIR=\"$TERMUX_PREFIX/share/man\"" >> configure.local
163a8808
FF
15 echo "CFLAGS=\"$CFLAGS -DNULL=0 $CPPFLAGS\"" >> configure.local
16 echo "LDFLAGS=\"$LDFLAGS\"" >> configure.local
59f0d218
FF
17 for HAVING in HAVE_FGETLN HAVE_MMAP HAVE_STRLCAT HAVE_STRLCPY; do
18 echo "$HAVING=1" >> configure.local
19 done
20 echo "HAVE_MANPATH=0" >> configure.local
0b2c0e57 21 echo "HAVE_SQLITE3=1" >> configure.local
59f0d218
FF
22}
23
b3d12336
FF
24termux_step_create_debscripts () {
25 echo "interest $TERMUX_PREFIX/share/man" > triggers
26
27 echo "makewhatis -Q" > postinst
28 echo "exit 0" >> postinst
29}