37375312b9
In issue https://github.com/termux/termux-packages/issues/6160 I have found that community repo "its-pointless.github.io" specifies us as maintainer for its packages. This is NOT TRUE and potentially misleads people using these packages. Now TERMUX_PKG_MAINTAINER will contain a default value which is neutral and not specify maintainer. So all packages now have to override it to the correct value. [skip ci] %ci:no-build
27 lines
880 B
Bash
27 lines
880 B
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/lsof-org/lsof
|
|
TERMUX_PKG_DESCRIPTION="Lists open files for running Unix processes"
|
|
TERMUX_PKG_LICENSE="custom"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=4.94.0
|
|
TERMUX_PKG_SRCURL=https://github.com/lsof-org/lsof/archive/${TERMUX_PKG_VERSION}/lsof-${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=a9865eeb581c3abaac7426962ddb112ecfd86a5ae93086eb4581ce100f8fa8f4
|
|
TERMUX_PKG_DEPENDS="libandroid-support, libtirpc"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
termux_step_configure() {
|
|
./Configure -n linux
|
|
}
|
|
|
|
termux_step_make() {
|
|
make CC="$CC $CFLAGS $CPPFLAGS -I$TERMUX_PREFIX/include/tirpc"
|
|
}
|
|
|
|
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() {
|
|
install -Dm600 -t $TERMUX_PREFIX/share/doc/lsof $TERMUX_PKG_BUILDER_DIR/license.txt
|
|
}
|