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.xs4all.nl
/~hanb
/software
/mg
16 PKG_MD5SUM
:=e1eaef5a61143c12a66e23deaa369e76
18 include $(INCLUDE_DIR
)/package.mk
24 TITLE
:=microscopic GNU Emacs-style editor
25 URL
:=http
://www.xs4all.nl
/~hanb
/software
/mg
/
28 define Package
/mg
/description
29 This program is intended to be a small
, fast
, and portable
30 editor for people who can
't (or don't want to
) run real
31 Emacs for one reason or another. It is compatible with GNU
32 because there shouldn
't be any reason to learn more than
36 define Build/Configure
37 (cd $(PKG_BUILD_DIR); \
38 $(TARGET_CONFIGURE_OPTS) \
44 $(MAKE) -C $(PKG_BUILD_DIR) \
45 LDFLAGS="$(TARGET_LDFLAGS) -lncurses" \
46 CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
50 define Package/mg/install
51 $(INSTALL_DIR) $(1)/usr/bin
52 $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
55 $(eval $(call BuildPackage,mg))