OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
| 1 | # Copyright (C) 2008 OpenWrt.org |
| 2 | # |
| 3 | # This is free software, licensed under the GNU General Public License v2. |
| 4 | # |
| 5 | |
| 6 | include $(TOPDIR)/rules.mk |
| 7 | |
| 8 | PKG_NAME:=man-tiny |
| 9 | PKG_VERSION:=20110518 |
| 10 | PKG_REV:=4b5bd45caa1ddd157e54197578b0b4f6a17d05bb |
| 11 | PKG_RELEASE:=1 |
| 12 | |
| 13 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
| 14 | PKG_SOURCE_URL:=git://projects.qi-hardware.com/man-tiny.git |
| 15 | PKG_SOURCE_PROTO:=git |
| 16 | PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) |
| 17 | PKG_SOURCE_VERSION:=$(PKG_REV) |
| 18 | |
| 19 | include $(INCLUDE_DIR)/package.mk |
| 20 | |
| 21 | define 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 |
| 27 | endef |
| 28 | |
| 29 | define Package/man-tiny/description |
| 30 | An extremely simple man page viewer that uses mandoc |
| 31 | endef |
| 32 | |
| 33 | define 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/ |
| 40 | endef |
| 41 | |
| 42 | $(eval $(call BuildPackage,man-tiny)) |
| 43 |
