packages/utils/joe/Makefile

41 lines
882 B
Makefile
Raw Normal View History

#
# Copyright (C) 2007 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:=joe
PKG_VERSION:=3.5
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/joe-editor
PKG_MD5SUM:=9bdffecce7ef910feaa06452d48843de
PKG_CAT:=zcat
PKG_BUILD_DEPENDS:=libncurses
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
define Package/joe
SECTION:=utils
CATEGORY:=Utilities
TITLE:=JOE - Joes own editor
DESCRIPTION:=Joe is world-famous Wordstar like text editor.
URL:=http://sourceforge.net/projects/joe-editor/
endef
define Package/joe/install
$(STRIP) $(PKG_BUILD_DIR)/joe
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/joe $(1)/usr/bin/
endef
$(eval $(call BuildPackage,joe))