2 # Copyright (C) 2008-2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://www.han.dds.nl
/software
/mg
16 PKG_MD5SUM
:=f25a139da44c3a2f760ffec531bd996e
18 include $(INCLUDE_DIR
)/package.mk
24 TITLE
:=microscopic GNU Emacs-style editor
25 URL
:=http
://www.han.dds.nl
/software
/mg
/
29 define Package
/mg
/description
30 This program is intended to be a small
, fast
, and portable
31 editor for people who can
't (or don't want to
) run real
32 Emacs for one reason or another. It is compatible with GNU
33 because there shouldn
't be any reason to learn more than
37 define Build/Configure
38 (cd $(PKG_BUILD_DIR); \
39 $(TARGET_CONFIGURE_OPTS) \
45 $(MAKE) -C $(PKG_BUILD_DIR) \
46 LDFLAGS="$(TARGET_LDFLAGS) -lncurses" \
47 CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
51 define Package/mg/install
52 $(INSTALL_DIR) $(1)/usr/bin
53 $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
56 $(eval $(call BuildPackage,mg))