2022-01-29 20:00:42 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://sourceforge.net/projects/nsis/
|
|
|
|
TERMUX_PKG_DESCRIPTION="A professional open source system to create Windows installers"
|
|
|
|
# Licenses: zlib/libpng, bzip2, CPL-1.0
|
|
|
|
TERMUX_PKG_LICENSE="custom"
|
|
|
|
TERMUX_PKG_LICENSE_FILE="COPYING"
|
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
|
|
TERMUX_PKG_VERSION=3.08
|
2022-03-27 13:43:27 +02:00
|
|
|
TERMUX_PKG_REVISION=4
|
2022-01-29 20:00:42 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://prdownloads.sourceforge.net/nsis/nsis-${TERMUX_PKG_VERSION}-src.tar.bz2
|
|
|
|
TERMUX_PKG_SHA256=a85270ad5386182abecb2470e3d7e9bec9fe4efd95210b13551cb386830d1e87
|
|
|
|
TERMUX_PKG_DEPENDS="libandroid-support, libc++, libiconv, zlib"
|
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
|
|
|
|
termux_step_make_install() {
|
|
|
|
scons \
|
2022-03-27 10:16:38 +02:00
|
|
|
CC="$(command -v $CC)" \
|
|
|
|
CXX="$(command -v $CXX)" \
|
2022-01-29 20:00:42 +01:00
|
|
|
APPEND_CCFLAGS="$CFLAGS $CPPFLAGS" \
|
|
|
|
APPEND_LINKFLAGS="$LDFLAGS" \
|
|
|
|
SKIPSTUBS=all \
|
|
|
|
SKIPPLUGINS=all \
|
|
|
|
SKIPUTILS=all \
|
|
|
|
SKIPMISC=all \
|
|
|
|
NSIS_CONFIG_CONST_DATA_PATH=no \
|
2022-03-27 13:43:27 +02:00
|
|
|
PREFIX="$TERMUX_PREFIX/opt/nsis/nsis" \
|
2022-01-29 20:00:42 +01:00
|
|
|
install-compiler
|
|
|
|
}
|
2022-03-14 00:57:51 +01:00
|
|
|
|
|
|
|
termux_step_post_make_install() {
|
2022-03-27 13:43:27 +02:00
|
|
|
ln -sf $TERMUX_PREFIX/opt/nsis/nsis/makensis $TERMUX_PREFIX/bin/
|
2022-03-14 00:57:51 +01:00
|
|
|
}
|