OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
| 1 | # |
| 2 | # This is free software, licensed under the GNU General Public License v2. |
| 3 | # |
| 4 | |
| 5 | include $(TOPDIR)/rules.mk |
| 6 | |
| 7 | PKG_NAME:=ne |
| 8 | PKG_VERSION:=2.1 |
| 9 | PKG_RELEASE:=1 |
| 10 | |
| 11 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
| 12 | PKG_SOURCE_URL:=http://ne.dsi.unimi.it/ |
| 13 | PKG_MD5SUM:=9f76652f6349721cfe0e8dc2aec9c767 |
| 14 | |
| 15 | include $(INCLUDE_DIR)/package.mk |
| 16 | |
| 17 | define Package/ne |
| 18 | SECTION:=utils |
| 19 | CATEGORY:=Utilities |
| 20 | TITLE:=ne, the nice editor |
| 21 | URL:=http://ne.dsi.unimi.it |
| 22 | SUBMENU:=Editors |
| 23 | endef |
| 24 | |
| 25 | define 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. |
| 29 | endef |
| 30 | |
| 31 | MAKE_FLAGS += NE_TERMCAP=1 PREFIX=/usr OPTS=-ansi NE_DEBUG=0 |
| 32 | |
| 33 | define 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/ |
| 51 | endef |
| 52 | |
| 53 | $(eval $(call BuildPackage,ne)) |
| 54 |
