-#
-# Copyright (C) 2008-2009 OpenWrt.org
+#
+# Copyright (C) 2008-2011 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
include $(TOPDIR)/rules.mk
PKG_NAME:=mg
-PKG_VERSION:=20070529
+PKG_VERSION:=20110120
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=http://www.xs4all.nl/~hanb/software/mg
-PKG_MD5SUM:=e1eaef5a61143c12a66e23deaa369e76
+PKG_SOURCE_URL:=http://homepage.boetes.org/software/mg
+PKG_MD5SUM:=f2fa8016a491aa2a9d4c5698c593f31b
include $(INCLUDE_DIR)/package.mk
CATEGORY:=Utilities
DEPENDS:=+libncurses
TITLE:=microscopic GNU Emacs-style editor
- URL:=http://www.xs4all.nl/~hanb/software/mg/
+ URL:=http://homepage.boetes.org/software/mg/
+ SUBMENU:=Editors
endef
-
+
define Package/mg/description
This program is intended to be a small, fast, and portable
editor for people who can't (or don't want to) run real
$(MAKE) -C $(PKG_BUILD_DIR) \
LDFLAGS="$(TARGET_LDFLAGS) -lncurses" \
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
- CC=$(TARGET_CC)
+ CC="$(TARGET_CC)"
endef
define Package/mg/install
$(INSTALL_DIR) $(1)/usr/bin
- $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
endef
$(eval $(call BuildPackage,mg))