X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=utils%2Fzile%2FMakefile;h=a4967ee36edb4704ec162c120b0c12c31b3bdb89;hp=85da2c87a94de9570e2adde57c43c7311e37a7a9;hb=bd7849efc651e4cff8703e5e382e385d12453cd1;hpb=d85961b5ffc35f9b5e8caa42da83613da118fec5 diff --git a/utils/zile/Makefile b/utils/zile/Makefile index 85da2c87a9..a4967ee36e 100644 --- a/utils/zile/Makefile +++ b/utils/zile/Makefile @@ -1,22 +1,21 @@ -# -# Copyright (C) 2006 OpenWrt.org +# +# Copyright (C) 2006-2010 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id$ include $(TOPDIR)/rules.mk PKG_NAME:=zile -PKG_VERSION:=2.2.37 +PKG_VERSION:=2.3.18 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=@SF/zile -PKG_MD5SUM:=041e047ff293739166c9d17174645200 +PKG_SOURCE_URL:=@GNU/zile +PKG_MD5SUM:=4bac1dc5d7e6fb5c13bd6677bca34b11 -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) +PKG_INSTALL:=1 include $(INCLUDE_DIR)/package.mk @@ -25,22 +24,22 @@ define Package/zile CATEGORY:=Utilities DEPENDS:=+libncurses TITLE:=very small emacs-like editor - URL:=http://zile.sourceforge.net + URL:=http://www.gnu.org/software/zile/ + SUBMENU:=Editors endef define Package/zile/description - Zile is a small Emacs clone. Zile is a customizable, self-documenting - real-time display editor. Zile was written to be as similar as possible + Zile is a small Emacs clone. Zile is a customizable, self-documenting + real-time display editor. Zile was written to be as similar as possible to Emacs; every Emacs user should feel at home with Zile. endef -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR)/src -endef +CONFIGURE_VARS += \ + gl_cv_func_getopt_gnu=yes \ define Package/zile/install $(INSTALL_DIR) $(1)/usr/bin - $(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/ endef $(eval $(call BuildPackage,zile))