Root/man-tiny/Makefile

1# Copyright (C) 2008 OpenWrt.org
2#
3# This is free software, licensed under the GNU General Public License v2.
4#
5
6include $(TOPDIR)/rules.mk
7
8PKG_NAME:=man-tiny
9PKG_VERSION:=20110518
10PKG_REV:=4b5bd45caa1ddd157e54197578b0b4f6a17d05bb
11PKG_RELEASE:=1
12
13PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14PKG_SOURCE_URL:=git://projects.qi-hardware.com/man-tiny.git
15PKG_SOURCE_PROTO:=git
16PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
17PKG_SOURCE_VERSION:=$(PKG_REV)
18
19include $(INCLUDE_DIR)/package.mk
20
21define Package/man-tiny
22  TITLE:=Man page viewer
23  SECTION:=utilities
24  CATEGORY:=Utilities
25  URL:=http://projects.qi-hardware.com/index.php/p/man-tiny/
26  DEPENDS:=+mandoc
27endef
28
29define Package/man-tiny/description
30  An extremely simple man page viewer that uses mandoc
31endef
32
33define Package/man-tiny/install
34    $(INSTALL_DIR) \
35        $(1)/usr/bin/
36
37    $(INSTALL_BIN) \
38        $(PKG_BUILD_DIR)/src/man \
39        $(1)/usr/bin/
40endef
41
42$(eval $(call BuildPackage,man-tiny))
43

Archive Download this file



interactive