1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-21 23:31:54 +02:00

There is now a ( very simple) man page viewer that supports MANPATH

This commit is contained in:
Neil Stockbridge 2011-05-18 16:25:21 +12:00
parent aca02e10a7
commit e15a7056c1

42
man-tiny/Makefile Normal file
View File

@ -0,0 +1,42 @@
# Copyright (C) 2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=man-tiny
PKG_VERSION:=20110518
PKG_REV:=4b5bd45caa1ddd157e54197578b0b4f6a17d05bb
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=git://projects.qi-hardware.com/man-tiny.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=$(PKG_REV)
include $(INCLUDE_DIR)/package.mk
define Package/man-tiny
TITLE:=Man page viewer
SECTION:=utilities
CATEGORY:=Utilities
URL:=http://projects.qi-hardware.com/index.php/p/man-tiny/
DEPENDS:=+mandoc
endef
define Package/man-tiny/description
An extremely simple man page viewer that uses mandoc
endef
define Package/man-tiny/install
$(INSTALL_DIR) \
$(1)/usr/bin/
$(INSTALL_BIN) \
$(PKG_BUILD_DIR)/src/man \
$(1)/usr/bin/
endef
$(eval $(call BuildPackage,man-tiny))