termux-packages/x11-packages/fltk-editor/build.sh

20 lines
493 B
Bash
Raw Normal View History

2018-09-10 00:42:26 +02:00
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com> @xeffyr"
TERMUX_PKG_DESCRIPTION="Simple text editor"
TERMUX_PKG_DEPENDS="fltk, libc++"
TERMUX_PKG_VERSION=1.0-termux
2018-09-22 12:48:19 +02:00
TERMUX_PKG_REVISION=6
2018-09-10 00:42:26 +02:00
termux_step_make() {
"${CXX}" \
${CPPFLAGS} \
${CXXFLAGS} \
"${TERMUX_PKG_BUILDER_DIR}/fltk-editor.cxx" \
-o fltk-editor \
${LDFLAGS} -lfltk
2018-09-10 00:42:26 +02:00
}
termux_step_make_install() {
install -Dm700 fltk-editor "${TERMUX_PREFIX}/bin/fltk-editor"
2018-09-10 00:42:26 +02:00
}