2012-03-13 19:41:26 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=tig
|
2013-10-20 15:58:13 +00:00
|
|
|
PKG_VERSION:=1.2.1
|
2012-03-13 19:41:26 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=tig-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=http://jonas.nitro.dk/tig/releases/
|
2013-10-20 15:58:13 +00:00
|
|
|
PKG_MD5SUM:=d5c1dd1d829f8e515f59c96a5d419323
|
2012-03-13 19:41:26 +00:00
|
|
|
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
|
2012-06-12 23:47:53 +00:00
|
|
|
DEPENDS:=+git +libncursesw
|
2012-03-13 19:41:26 +00:00
|
|
|
URL:=http://jonas.nitro.dk/tig/releases/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/tig/description
|
2013-02-20 13:54:55 +00:00
|
|
|
Tig is a git repository browser that additionally can act as a pager for output
|
|
|
|
from various git commands.
|
2012-03-13 19:41:26 +00:00
|
|
|
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))
|