Root/ne/Makefile

1#
2# This is free software, licensed under the GNU General Public License v2.
3#
4
5include $(TOPDIR)/rules.mk
6
7PKG_NAME:=ne
8PKG_VERSION:=2.1
9PKG_RELEASE:=1
10
11PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
12PKG_SOURCE_URL:=http://ne.dsi.unimi.it/
13PKG_MD5SUM:=9f76652f6349721cfe0e8dc2aec9c767
14
15include $(INCLUDE_DIR)/package.mk
16
17define Package/ne
18  SECTION:=utils
19  CATEGORY:=Utilities
20  TITLE:=ne, the nice editor
21  URL:=http://ne.dsi.unimi.it
22  SUBMENU:=Editors
23endef
24
25define Package/ne/description
26  ne is a free (GPL'd) text editor based on the POSIX standard.
27  ne is easy to use for the beginner, but powerful and fully
28  configurable for the wizard, and most sparing in its resource usage.
29endef
30
31MAKE_FLAGS += NE_TERMCAP=1 PREFIX=/usr OPTS=-ansi NE_DEBUG=0
32
33define Package/ne/install
34    $(INSTALL_DIR) \
35        $(1)/usr/bin \
36        $(1)/usr/share/ne \
37        $(1)/usr/share/ne/syntax \
38        $(1)/usr/share/ne/doc
39
40    $(INSTALL_BIN) \
41        $(PKG_BUILD_DIR)/src/ne \
42        $(1)/usr/bin/ne
43
44    $(INSTALL_DATA) \
45        $(PKG_BUILD_DIR)/syntax/*.jsf \
46        $(1)/usr/share/ne/syntax/
47
48    $(INSTALL_DATA) \
49        $(PKG_BUILD_DIR)/doc/{default.*,ne.txt} \
50        $(1)/usr/share/ne/doc/
51endef
52
53$(eval $(call BuildPackage,ne))
54

Archive Download this file



interactive