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

21 lines
520 B
Bash
Raw Normal View History

2019-01-26 22:57:02 +01:00
TERMUX_PKG_HOMEPAGE=https://www.fltk.org/
2018-09-10 00:42:26 +02:00
TERMUX_PKG_DESCRIPTION="Simple text editor"
TERMUX_PKG_LICENSE="LGPL-2.0"
2019-05-17 00:18:48 +02:00
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
2018-09-10 00:42:26 +02:00
TERMUX_PKG_DEPENDS="fltk, libc++"
TERMUX_PKG_VERSION=1.0-termux
2019-02-27 23:28:03 +01:00
TERMUX_PKG_REVISION=9
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
}