From 39870d3122540ea16eddff6f46201984a4527c03 Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 1 Feb 2022 20:54:39 +0000 Subject: renambed sgml --- repo/devel/sgml-common.xibuild | 33 +++++++++++++++++++++++++++++++++ repo/devel/sigml-common.xibuild | 33 --------------------------------- 2 files changed, 33 insertions(+), 33 deletions(-) create mode 100644 repo/devel/sgml-common.xibuild delete mode 100644 repo/devel/sigml-common.xibuild diff --git a/repo/devel/sgml-common.xibuild b/repo/devel/sgml-common.xibuild new file mode 100644 index 0000000..c0a5cf4 --- /dev/null +++ b/repo/devel/sgml-common.xibuild @@ -0,0 +1,33 @@ +#!/bin/bash + +MAKEDEPS=(unzip) +DEPS=(libxml2 sgml-common) + +PKG_VER=0.6.3 +SOURCE=https://sourceware.org/ftp/docbook-tools/new-trials/SOURCES/sgml-common-$PKG_VER.tgz +ADDITIONAL=( + https://www.linuxfromscratch.org/patches/blfs/svn/sgml-common-$PKG_VER-manpage-1.patch + ) + +DESC="Tools for maintaining centralized SGML catalogs." + +prepare() { + patch -Np1 -i sgml-common-$PKG_VER-manpage-1.patch && + autoreconf -f -i +} + +build() { + ./configure --prefix=/usr --sysconfdir=/etc && + make +} + +package () { + make DESTDIR=$PKG_DEST docdir=/usr/share/doc install && + + install-catalog --add $PKG_DEST/etc/sgml/sgml-ent.cat \ + $PKG_DEST/usr/share/sgml/sgml-iso-entities-8879.1986/catalog && + + install-catalog --add $PKG_DEST/etc/sgml/sgml-docbook.cat \ + $PKG_DEST/etc/sgml/sgml-ent.cat + +} diff --git a/repo/devel/sigml-common.xibuild b/repo/devel/sigml-common.xibuild deleted file mode 100644 index c0a5cf4..0000000 --- a/repo/devel/sigml-common.xibuild +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash - -MAKEDEPS=(unzip) -DEPS=(libxml2 sgml-common) - -PKG_VER=0.6.3 -SOURCE=https://sourceware.org/ftp/docbook-tools/new-trials/SOURCES/sgml-common-$PKG_VER.tgz -ADDITIONAL=( - https://www.linuxfromscratch.org/patches/blfs/svn/sgml-common-$PKG_VER-manpage-1.patch - ) - -DESC="Tools for maintaining centralized SGML catalogs." - -prepare() { - patch -Np1 -i sgml-common-$PKG_VER-manpage-1.patch && - autoreconf -f -i -} - -build() { - ./configure --prefix=/usr --sysconfdir=/etc && - make -} - -package () { - make DESTDIR=$PKG_DEST docdir=/usr/share/doc install && - - install-catalog --add $PKG_DEST/etc/sgml/sgml-ent.cat \ - $PKG_DEST/usr/share/sgml/sgml-iso-entities-8879.1986/catalog && - - install-catalog --add $PKG_DEST/etc/sgml/sgml-docbook.cat \ - $PKG_DEST/etc/sgml/sgml-ent.cat - -} -- cgit v1.2.1