termux-packages/disabled-packages/checkinstall/build.sh

21 lines
715 B
Bash
Raw Normal View History

2016-10-28 22:39:16 +02:00
# NOTE: Currently segfaults when running.
TERMUX_PKG_HOMEPAGE=http://checkinstall.izto.org/
TERMUX_PKG_DESCRIPTION="Installation tracker creating a package from a local install"
TERMUX_PKG_VERSION=1.6.2
TERMUX_PKG_SRCURL=http://checkinstall.izto.org/files/source/checkinstall-${TERMUX_PKG_VERSION}.tar.gz
2019-08-12 17:56:27 +02:00
TERMUX_PKG_BUILD_IN_SRC=true
2016-10-28 22:39:16 +02:00
TERMUX_PKG_DEPENDS="file, make"
TERMUX_PKG_RM_AFTER_INSTALL="lib/checkinstall/locale/"
termux_step_pre_configure() {
CFLAGS+=" -D__off64_t=off64_t"
CFLAGS+=" -D_STAT_VER=3"
CFLAGS+=" -D_MKNOD_VER=1"
CFLAGS+=" -DS_IREAD=S_IRUSR"
}
termux_step_post_make_install() {
2016-10-28 22:39:16 +02:00
mv $TERMUX_PREFIX/lib/checkinstall/checkinstallrc-dist \
$TERMUX_PREFIX/lib/checkinstall/checkinstallrc
}