ttyrec: -Werror=implicit-function-declaration

This commit is contained in:
Fredrik Fornwall 2017-07-07 02:29:28 +02:00
parent cee3cfd273
commit 76d1747db3
1 changed files with 8 additions and 4 deletions

View File

@ -6,8 +6,12 @@ TERMUX_PKG_SRCURL=http://0xcc.net/ttyrec/ttyrec-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=ef5e9bf276b65bb831f9c2554cd8784bd5b4ee65353808f82b7e2aef851587ec
TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_make_install () {
cp ttyrec ttyplay ttytime $TERMUX_PREFIX/bin
mkdir -p $TERMUX_PREFIX/share/man/man1
cp ttyrec.1 ttyplay.1 ttytime.1 $TERMUX_PREFIX/share/man/man1
termux_step_pre_configure() {
CFLAGS+=" -Dset_progname=setprogname"
}
termux_step_make_install () {
cp ttyrec ttyplay ttytime $TERMUX_PREFIX/bin
mkdir -p $TERMUX_PREFIX/share/man/man1
cp ttyrec.1 ttyplay.1 ttytime.1 $TERMUX_PREFIX/share/man/man1
}