From f29d569cd33a73da5ad675f43a34ad53c5cc9bc6 Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 2 Feb 2023 14:10:02 +0000 Subject: Work --- skip/docbook2x/docbook2x.xibuild | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 skip/docbook2x/docbook2x.xibuild (limited to 'skip/docbook2x/docbook2x.xibuild') diff --git a/skip/docbook2x/docbook2x.xibuild b/skip/docbook2x/docbook2x.xibuild new file mode 100644 index 0000000..cb4d112 --- /dev/null +++ b/skip/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://sourceforge.net/projects/docbook2x/files/docbook2x/$PKG_VER/docbook2X-$PKG_VER.tar.gz/download" + +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 +} + +build() { + autoreconf --install + ./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 +} + -- cgit v1.2.1