packages/tig: console git repository viewer
[openwrt/svn-archive/archive.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:=0.18
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:=4fa9e33c5daa76b6fed11e068405356f
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 +libncurses
28 URL:=http://jonas.nitro.dk/tig/releases/
29 endef
30
31 define Package/tig/description
32 Command line launcher for search engines and other Internet services.
33 endef
34
35 CONFIGURE_ARGS+= \
36 --with-libiconv="$(ICONV_PREFIX)"
37
38 define Package/tig/install
39 $(INSTALL_DIR) $(1)/usr/bin/
40 $(INSTALL_BIN) $(PKG_BUILD_DIR)/tig $(1)/usr/bin/tig
41 endef
42
43 $(eval $(call BuildPackage,tig))