2016-02-14 15:04:22 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=http://mama.indstate.edu/users/ice/tree/
|
2016-02-15 12:40:27 +01:00
|
|
|
TERMUX_PKG_DESCRIPTION="Recursive directory lister producing a depth indented listing of files"
|
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"
|
2018-11-17 22:08:08 +01:00
|
|
|
TERMUX_PKG_VERSION=1.8.0
|
2020-03-16 15:39:29 +01:00
|
|
|
TERMUX_PKG_REVISION=2
|
2016-02-14 15:04:22 +01:00
|
|
|
TERMUX_PKG_SRCURL=http://mama.indstate.edu/users/ice/tree/src/tree-${TERMUX_PKG_VERSION}.tgz
|
2020-01-13 02:00:07 +01:00
|
|
|
TERMUX_PKG_SHA256=715d5d4b434321ce74706d0dd067505bb60c5ea83b5f0b3655dae40aa6f9b7c2
|
2018-11-17 22:08:08 +01:00
|
|
|
TERMUX_PKG_DEPENDS="libandroid-support"
|
2019-08-12 17:28:41 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2016-02-14 15:04:22 +01:00
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_make() {
|
2016-02-14 15:04:22 +01:00
|
|
|
make \
|
|
|
|
CC="$CC" \
|
|
|
|
CFLAGS="$CFLAGS $CPPFLAGS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" \
|
|
|
|
LDFLAGS="$LDFLAGS" \
|
2018-11-17 22:08:08 +01:00
|
|
|
OBJS="file.o tree.o unix.o html.o xml.o json.o hash.o color.o strverscmp.o"
|
2016-02-14 15:04:22 +01:00
|
|
|
}
|
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_make_install() {
|
2016-02-14 15:04:22 +01:00
|
|
|
make install \
|
|
|
|
prefix="$TERMUX_PREFIX" \
|
|
|
|
MANDIR="$TERMUX_PREFIX/share/man/man1"
|
|
|
|
}
|