diff options
author | davidovski <david@davidovski.xyz> | 2022-06-27 23:09:07 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-06-27 23:09:07 +0100 |
commit | f6332a43c35387c4a2dea1746be5fd092890ae0e (patch) | |
tree | d6599f63de04096f3fc21a98e0b3bb39d55a3531 /repo/docbook2x/docbook2x.xibuild | |
parent | f13e0cac13f90f7f57bce3b26b2e6383de6e4ad2 (diff) |
added lf and iptables
Diffstat (limited to 'repo/docbook2x/docbook2x.xibuild')
-rw-r--r-- | repo/docbook2x/docbook2x.xibuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/repo/docbook2x/docbook2x.xibuild b/repo/docbook2x/docbook2x.xibuild new file mode 100644 index 0000000..22a1f11 --- /dev/null +++ b/repo/docbook2x/docbook2x.xibuild @@ -0,0 +1,39 @@ +#!/bin/sh + +NAME="docbook2x" +DESC="DocBook converter to UNIX manpage and GNU Texinfo format" + +MAKEDEPS="autoconf automake perl-xml-sax" + +PKG_VER=0.8.8 +SOURCE="https://downloads.sourceforge.net/docbook2x/docbook2X-$PKG_VER.tar.gz" + +ADDITIONAL=" +01_fix_static_datadir_evaluation.patch +02_fix_418703_dont_use_abbreviated_sfnet_address.patch +03_fix_420153_filename_whitespace_handling.patch +04_fix_442782_preprocessor_declaration_syntax.patch +05_fix_439214_error_on_missing_refentry.patch +06_fix_man_typo.patch +" + +prepare() { + apply_patches + autoreconf --install +} + +build() { + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --program-transform-name 's/docbook2/docbook2x-/' \ + make +} + +package() { + make DESTDIR="$PKG_DEST" install || return 1 +} + |