redsocks: moved to github
[packages.git] / net / tig / Makefile
1 #
2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
4 #
5
6 include $(TOPDIR)/rules.mk
7
8 PKG_NAME:=tig
9 PKG_VERSION:=1.2.1
10 PKG_RELEASE:=1
11
12 PKG_SOURCE:=tig-$(PKG_VERSION).tar.gz
13 PKG_SOURCE_URL:=http://jonas.nitro.dk/tig/releases/
14 PKG_MD5SUM:=d5c1dd1d829f8e515f59c96a5d419323
15 PKG_CAT:=zcat
16
17 PKG_BUILD_DIR:=$(BUILD_DIR)/tig-$(PKG_VERSION)
18 PKG_BUILD_DEPENDS:=libncurses libiconv
19
20 include $(INCLUDE_DIR)/package.mk
21 include $(INCLUDE_DIR)/nls.mk
22
23 define Package/tig
24         SECTION:=devel
25         CATEGORY:=Development
26         TITLE:=Console Git repository viewer
27         DEPENDS:=+git +libncursesw
28         URL:=http://jonas.nitro.dk/tig/releases/
29 endef
30
31 define Package/tig/description
32         Tig is a git repository browser that additionally can act as a pager for output
33         from various git commands.
34 endef
35
36 CONFIGURE_ARGS+= \
37         --with-libiconv="$(ICONV_PREFIX)"
38
39 define Package/tig/install
40         $(INSTALL_DIR) $(1)/usr/bin/
41         $(INSTALL_BIN) $(PKG_BUILD_DIR)/tig $(1)/usr/bin/tig
42 endef
43
44 $(eval $(call BuildPackage,tig))