From 2b78636c61184f9bcc5f8907c26a83da4e39f0c1 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Thu, 24 Jan 2013 02:53:05 +0100 Subject: Added SciTECO port builds Scintilla and Scinterm as part of the package. * currently there appears to be a bug - the cursor doesn't show up at the end of lines * also it doesn't work very well on monochrome displays --- sciteco/Makefile | 63 +++++++++++++++++++++++++++++++ sciteco/patches/0001-scinterm-build.patch | 22 +++++++++++ 2 files changed, 85 insertions(+) create mode 100644 sciteco/Makefile create mode 100644 sciteco/patches/0001-scinterm-build.patch diff --git a/sciteco/Makefile b/sciteco/Makefile new file mode 100644 index 0000000..0c8f5d8 --- /dev/null +++ b/sciteco/Makefile @@ -0,0 +1,63 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=sciteco +PKG_VERSION:=0.1 +PKG_RELEASE:=1 + +PKG_SOURCE:=sciteco-$(PKG_VERSION).tar.gz +PKG_MD5SUM:=612f02da4a521059f75835fe89508461 + +PKG_BUILD_DIR=$(BUILD_DIR)/sciteco-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk + +define Package/SciTECO + SECTION:=utils + CATEGORY:=Utilities + DEPENDS:=+libncurses +glib2 +libstdcpp + TITLE:=Scintilla based TECO editor + URL:=https://github.com/rhaberkorn/sciteco + SUBMENU:=Editors +endef + +define Package/SciTECO/description +Advanced screen based version of the TECO editor. +NOTE: Currently, SciTECO has to be installed on the +host platform. +endef + +CONFIGURE_ARGS += --with-scintilla=scintilla \ + --with-interface=ncurses \ + --disable-bootstrap + +define Build/Prepare + $(PKG_UNPACK) + (cd $(PKG_BUILD_DIR); \ + $(HOST_TAR) xzf $(DL_DIR)/scintilla324.tgz; \ + unzip -d scintilla $(DL_DIR)/scinterm_1.1.zip; \ + mv scintilla/scinterm_1.1 scintilla/scinterm; \ + patch -p0