termux-packages/packages/tree/build.sh

25 lines
859 B
Bash
Raw Normal View History

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"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=2.0.2
TERMUX_PKG_SRCURL="https://gitlab.com/OldManProgrammer/unix-tree/-/archive/${TERMUX_PKG_VERSION}/unix-tree-${TERMUX_PKG_VERSION}.tar.gz"
TERMUX_PKG_SHA256=fda48f7443c6883c599cd9e87e93fd843c1cd162e68794d23e4dc6d10efc6250
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_UPDATE_TAG_TYPE="newest-tag"
2018-11-17 22:08:08 +01:00
TERMUX_PKG_DEPENDS="libandroid-support"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_make() {
make \
CC="$CC" \
CFLAGS="$CFLAGS $CPPFLAGS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" \
LDFLAGS="$LDFLAGS"
}
termux_step_make_install() {
make install \
PREFIX="$TERMUX_PREFIX" \
MANDIR="$TERMUX_PREFIX/share/man/man1"
}