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"
|
2016-02-14 15:04:22 +01:00
|
|
|
TERMUX_PKG_DEPENDS="libandroid-support"
|
|
|
|
TERMUX_PKG_VERSION=1.7.0
|
2017-01-11 07:21:42 +01:00
|
|
|
TERMUX_PKG_REVISION=2
|
2016-09-26 22:28:22 +02:00
|
|
|
TERMUX_PKG_MAINTAINER="Gert Scholten @gscholt"
|
2016-02-14 15:04:22 +01:00
|
|
|
TERMUX_PKG_SRCURL=http://mama.indstate.edu/users/ice/tree/src/tree-${TERMUX_PKG_VERSION}.tgz
|
2017-03-27 01:56:11 +02:00
|
|
|
TERMUX_PKG_SHA256=6957c20e82561ac4231638996e74f4cfa4e6faabc5a2f511f0b4e3940e8f7b12
|
2016-02-14 15:04:22 +01:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=yes
|
|
|
|
|
|
|
|
termux_step_make () {
|
|
|
|
make \
|
|
|
|
CC="$CC" \
|
|
|
|
CFLAGS="$CFLAGS $CPPFLAGS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" \
|
|
|
|
LDFLAGS="$LDFLAGS" \
|
|
|
|
OBJS="tree.o unix.o html.o xml.o json.o hash.o color.o strverscmp.o"
|
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_make_install () {
|
|
|
|
make install \
|
|
|
|
prefix="$TERMUX_PREFIX" \
|
|
|
|
MANDIR="$TERMUX_PREFIX/share/man/man1"
|
|
|
|
}
|