packages/net/tig/Makefile
juhosg f0877c8c3b packages/tig: console git repository viewer
[juhosg: remove SVN keywords, add license header, add PKG_BUILD_DEPENDS,
add CONFIGURE_ARGS]

Signed-off-by: Xiangfu <xiangfu.z@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@30935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-13 19:41:26 +00:00

44 lines
982 B
Makefile

#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=tig
PKG_VERSION:=0.18
PKG_RELEASE:=1
PKG_SOURCE:=tig-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://jonas.nitro.dk/tig/releases/
PKG_MD5SUM:=4fa9e33c5daa76b6fed11e068405356f
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/tig-$(PKG_VERSION)
PKG_BUILD_DEPENDS:=libncurses libiconv
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk
define Package/tig
SECTION:=devel
CATEGORY:=Development
TITLE:=Console Git repository viewer
DEPENDS:=+git +libncurses
URL:=http://jonas.nitro.dk/tig/releases/
endef
define Package/tig/description
Command line launcher for search engines and other Internet services.
endef
CONFIGURE_ARGS+= \
--with-libiconv="$(ICONV_PREFIX)"
define Package/tig/install
$(INSTALL_DIR) $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/tig $(1)/usr/bin/tig
endef
$(eval $(call BuildPackage,tig))