termux-packages/packages/gatling/build.sh

22 lines
771 B
Bash
Raw Normal View History

2020-01-02 22:21:46 +01:00
TERMUX_PKG_HOMEPAGE=https://www.fefe.de/gatling/
TERMUX_PKG_DESCRIPTION="A high performance http, ftp and smb server"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
2020-01-02 22:21:46 +01:00
TERMUX_PKG_VERSION=0.15
TERMUX_PKG_REVISION=3
2020-01-02 22:21:46 +01:00
TERMUX_PKG_SRCURL=https://www.fefe.de/gatling/gatling-$TERMUX_PKG_VERSION.tar.xz
TERMUX_PKG_SHA256=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
2020-01-01 22:05:20 +01:00
TERMUX_PKG_DEPENDS="libcrypt, libiconv, openssl, zlib"
TERMUX_PKG_BUILD_DEPENDS="libowfat"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_make() {
CPPFLAGS+=" -I$TERMUX_PREFIX/include/libowfat"
LDFLAGS+=" -lcrypt -lcrypto -liconv"
make -j $TERMUX_MAKE_PROCESSES CROSS="${CC/clang}"
}
termux_step_make_install() {
make install prefix=$TERMUX_PREFIX MANDIR=$TERMUX_PREFIX/share/man
}