summaryrefslogtreecommitdiffhomepage
path: root/groups.d/221.native_packages_dev.d/mandoc.package
diff options
context:
space:
mode:
Diffstat (limited to 'groups.d/221.native_packages_dev.d/mandoc.package')
-rw-r--r--groups.d/221.native_packages_dev.d/mandoc.package12
1 files changed, 12 insertions, 0 deletions
diff --git a/groups.d/221.native_packages_dev.d/mandoc.package b/groups.d/221.native_packages_dev.d/mandoc.package
new file mode 100644
index 00000000..4dddd229
--- /dev/null
+++ b/groups.d/221.native_packages_dev.d/mandoc.package
@@ -0,0 +1,12 @@
+: ${PKG_MANDOC_DEPENDS:="libz musl_fts"};
+: ${PKG_MANDOC_SHA256SUM:=8bf0d570f01e70a6e124884088870cbed7537f36328d512909eb10cd53179d9c};
+: ${PKG_MANDOC_VERSION:=1.14.6};
+: ${PKG_MANDOC_URL:=https://mandoc.bsd.lv/snapshots/mandoc-${PKG_MANDOC_VERSION}.tar.gz};
+: ${PKG_MANDOC_MAKEFLAGS_BUILD_EXTRA_LIST:="CC=${DEFAULT_NATIVE_CC}:LDADD=-Wl,-lz,-lfts"};
+: ${PKG_MANDOC_CFLAGS_BUILD_EXTRA:="-D_GNU_SOURCE ${DEFAULT_CFLAGS}"};
+: ${PKG_MANDOC_BUILD_STEPS_DISABLE:="configure"};
+: ${PKG_MANDOC_IN_TREE:=1};
+
+ex_pkg_register "mandoc" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0