termux-packages/x11-packages/fltk-editor/build.sh
Leonid Pliushch e7c9b79097
update maintainer fields
[ci skip]
2022-04-18 14:09:20 +05:30

21 lines
520 B
Bash

TERMUX_PKG_HOMEPAGE=https://www.fltk.org/
TERMUX_PKG_DESCRIPTION="Simple text editor"
TERMUX_PKG_LICENSE="LGPL-2.0"
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
TERMUX_PKG_DEPENDS="fltk, libc++"
TERMUX_PKG_VERSION=1.0-termux
TERMUX_PKG_REVISION=9
termux_step_make() {
"${CXX}" \
${CPPFLAGS} \
${CXXFLAGS} \
"${TERMUX_PKG_BUILDER_DIR}/fltk-editor.cxx" \
-o fltk-editor \
${LDFLAGS} -lfltk
}
termux_step_make_install() {
install -Dm700 fltk-editor "${TERMUX_PREFIX}/bin/fltk-editor"
}