new package: logrotate (#6315)

* new package: logrotate

* fix build error

* Update build.sh
This commit is contained in:
Rabby Sheikh 2021-01-26 10:08:33 -05:00 committed by GitHub
parent 38adadab32
commit b141100bd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
TERMUX_PKG_HOMEPAGE=https://github.com/logrotate/logrotate
TERMUX_PKG_DESCRIPTION="Simplify the administration of log files on a system which generates a lot of log files"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="Rabby Sheikh @shoya0x00"
TERMUX_PKG_VERSION=3.18.0
TERMUX_PKG_SRCURL=https://github.com/logrotate/logrotate/releases/download/${TERMUX_PKG_VERSION}/logrotate-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=841f81bf09d0014e4a2e11af166bb33fcd8429cc0c2d4a7d3d9ceb3858cfccc5
TERMUX_PKG_DEPENDS="libpopt, libandroid-glob"
termux_step_pre_configure() {
LDFLAGS+=" -landroid-glob"
}