2020-06-07 02:32:48 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://github.com/lsof-org/lsof
|
|
|
|
TERMUX_PKG_DESCRIPTION="Lists open files for running Unix processes"
|
|
|
|
TERMUX_PKG_LICENSE="custom"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2022-04-28 02:35:56 +02:00
|
|
|
TERMUX_PKG_VERSION="4.95.0"
|
2022-04-29 21:00:58 +02:00
|
|
|
TERMUX_PKG_REVISION=1
|
2020-06-07 02:32:48 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/lsof-org/lsof/archive/${TERMUX_PKG_VERSION}/lsof-${TERMUX_PKG_VERSION}.tar.gz
|
2022-04-28 02:35:56 +02:00
|
|
|
TERMUX_PKG_SHA256=8ff4c77736cc7d9556da9e2c7614cc4292a12f1979f20bd520d3c6f64b66a4d7
|
2021-10-04 12:43:31 +02:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
2020-06-07 02:32:48 +02:00
|
|
|
TERMUX_PKG_DEPENDS="libandroid-support, libtirpc"
|
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
|
|
|
|
termux_step_configure() {
|
2021-11-08 21:00:36 +01:00
|
|
|
LSOF_CC="$CC" ./Configure -n linux
|
2020-06-07 02:32:48 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_make_install() {
|
|
|
|
install -Dm700 -t $TERMUX_PREFIX/bin/ lsof
|
|
|
|
install -Dm600 Lsof.8 $TERMUX_PREFIX/share/man/man8/lsof.8
|
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_install_license() {
|
2022-05-07 00:26:11 +02:00
|
|
|
install -Dm600 -t $TERMUX_PREFIX/share/doc/$TERMUX_PKG_NAME \
|
|
|
|
$TERMUX_PKG_BUILDER_DIR/license.txt
|
2020-06-07 02:32:48 +02:00
|
|
|
}
|