bluez-tools: Add package bluezetools
[feed/packages.git] / utils / mandoc / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=mandoc
4 PKG_VERSION:=1.14.5
5 PKG_RELEASE:=$(AUTORELEASE)
6
7 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
8 PKG_SOURCE_URL:=https://mandoc.bsd.lv/snapshots/
9 PKG_HASH:=8219b42cb56fc07b2aa660574e6211ac38eefdbf21f41b698d3348793ba5d8f7
10
11 PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
12 PKG_LICENSE:=BSD-3-Clause BSD-2-Clause
13 PKG_LICENSE_FILES:=LICENSE
14
15 PKG_INSTALL:=1
16 PKG_BUILD_PARALLEL:=1
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/mandoc
21 SECTION:=utils
22 CATEGORY:=Utilities
23 TITLE:=mandoc document formatting system
24 DEPENDS:=+zlib
25 URL:=https://mandoc.bsd.lv/
26 endef
27
28 define Package/sed/description
29 mandoc is a suite of tools compiling mdoc, the roff macro language
30 of choice for BSD manual pages, and man, the predominant historical
31 language for UNIX manuals. It is small, ISO C, ISC-licensed, and quite
32 fast. The main component of the toolset is the mandoc utility program,
33 based on the libmandoc validating compiler, to format output for UTF-8
34 and ASCII UNIX terminals, HTML 5, PostScript, and PDF.
35 endef
36
37 CONFIGURE_VARS=\
38 CC=$(CC) \
39 HAVE_FTS=0 \
40 HAVE_REALLOCARRAY=0 \
41
42 define Package/mandoc/install
43 $(INSTALL_DIR) $(1)/usr/bin/
44 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mandoc $(1)/usr/bin/
45 endef
46
47 $(eval $(call BuildPackage,mandoc))