Cleanup of more packages
This commit is contained in:
parent
a7aabf2e45
commit
949c4342cf
@ -7,9 +7,11 @@ TERMUX_PKG_SRCURL=https://github.com/DavidGriffith/frotz/archive/${TERMUX_PKG_VE
|
||||
TERMUX_PKG_FOLDERNAME=frotz-${TERMUX_PKG_VERSION}
|
||||
TERMUX_PKG_BUILD_IN_SRC=yes
|
||||
|
||||
# Pull request submitted to replace rindex() with strrchr() at
|
||||
# https://github.com/DavidGriffith/frotz/pull/20
|
||||
CFLAGS+=" -Drindex=strrchr"
|
||||
termux_step_pre_configure() {
|
||||
# Pull request submitted to replace rindex() with strrchr() at
|
||||
# https://github.com/DavidGriffith/frotz/pull/20
|
||||
CFLAGS+=" -Drindex=strrchr"
|
||||
}
|
||||
|
||||
termux_step_make () {
|
||||
CC="$CC $CFLAGS $CPPFLAGS $LDFLAGS" PREFIX=$TERMUX_PREFIX make -j $TERMUX_MAKE_PROCESSES install
|
||||
|
@ -6,7 +6,9 @@ TERMUX_PKG_DEPENDS="ncurses, readline"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-readline"
|
||||
TERMUX_PKG_HOSTBUILD=yes
|
||||
|
||||
export CFLAGS="$CFLAGS -Wno-overflow"
|
||||
termux_step_pre_configure() {
|
||||
CFLAGS+=" -Wno-overflow"
|
||||
}
|
||||
|
||||
termux_step_post_configure () {
|
||||
cp $TERMUX_PKG_HOSTBUILD_DIR/patterns/mkeyes $TERMUX_PKG_BUILDDIR/patterns/mkeyes
|
||||
|
@ -6,7 +6,10 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_lib_curses_clrtoeol=yes --with-curses"
|
||||
TERMUX_PKG_RM_AFTER_INSTALL="info/gnushogi.info"
|
||||
TERMUX_PKG_DEPENDS="ncurses"
|
||||
TERMUX_PKG_HOSTBUILD=yes
|
||||
export CFLAGS="$CFLAGS $CPPFLAGS"
|
||||
|
||||
termux_step_pre_configure() {
|
||||
CFLAGS+=" $CPPFLAGS"
|
||||
}
|
||||
|
||||
termux_step_post_configure () {
|
||||
cp $TERMUX_PKG_HOSTBUILD_DIR/gnushogi/pat2inc $TERMUX_PKG_BUILDDIR/gnushogi/pat2inc
|
||||
|
Loading…
Reference in New Issue
Block a user