[Lunar-commits] <moonbase-core> sgml-common: Moved from other to core.

Peter de Ridder peter at lunar-linux.org
Fri Jun 7 09:02:45 CEST 2013


commit 796143ff95b976cd8aaccce097e25ead9f7f9fdc
Author: Peter de Ridder <peter at lunar-linux.org>
Date: Thu, 06 Jun 2013 10:30:44 -0700
URL: https://github.com/lunar-linux/moonbase-core/commit/796143ff95b976cd8aaccce097e25ead9f7f9fdc

sgml-common: Moved from other to core.
---
  doc-tools/sgml-common/BUILD        | +17/-0    
  doc-tools/sgml-common/DEPENDS      | +1/-0     
  doc-tools/sgml-common/DETAILS      | +16/-0    
  doc-tools/sgml-common/POST_INSTALL | +11/-0    
  doc-tools/sgml-common/PRE_REMOVE   | +5/-0     
  5 files changed, 50 insertions(+)

--- /dev/null
+++ b/doc-tools/sgml-common/BUILD
@@ -0,0 +1,17 @@
+(
+
+  patch_it $SOURCE2 1 &&
+  sedit "s:docdir=.*:docdir='/usr/share/doc':" configure.in &&
+
+## this seems to be needed for a fresh install
+  touch INSTALL aclocal  &&
+  autoreconf  &&
+  cd $SOURCE_DIRECTORY
+##
+
+  automake --add-missing --copy --gnu  &&
+  autoconf  &&
+
+  default_build
+
+) > $C_FIFO 2>&1
--- /dev/null
+++ b/doc-tools/sgml-common/DEPENDS
@@ -0,0 +1 @@
+depends  automake
--- /dev/null
+++ b/doc-tools/sgml-common/DETAILS
@@ -0,0 +1,16 @@
+          MODULE=sgml-common
+         VERSION=0.6.3
+          SOURCE=$MODULE-$VERSION.tgz
+         SOURCE2=sgml-common-$VERSION-manpage-1.patch
+   SOURCE_URL[0]=ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/
+   SOURCE_URL[1]=http://download.lunar-linux.org/lunar/mirrors/docbook/
+     SOURCE2_URL=http://www.linuxfromscratch.org/blfs/downloads/svn/
+      SOURCE_VFY=sha1:b7d211c19b83accb92dcb51719de65227fb4c27c
+     SOURCE2_VFY=sha1:5c29c2eb931507f9d9feeba9ad1ecfaec2220bf8
+        WEB_SITE=http://www.iso.ch/cate/3524030.html
+         ENTERED=20020630
+         UPDATED=20050215
+           SHORT="Base ISO character entities and utilities for SGML and XML"
+cat << EOF
+This module includes a set of characters symbolic names ("character entities") used by SGML and XML documents of many types, very basic utilities to allow manipulation of SGML "centralized catalogs", and the "SGML declaration" of XML.
+EOF
--- /dev/null
+++ b/doc-tools/sgml-common/POST_INSTALL
@@ -0,0 +1,11 @@
+CENTRALIZED="/etc/sgml/catalog"
+
+if ! [ -e "$CENTRALIZED" ]; then
+     echo "Creating $CENTRALIZED"
+     mkdir -p /etc/sgml
+     touch $CENTRALIZED
+fi
+
+/usr/bin/install-catalog --add $CENTRALIZED /usr/share/sgml/sgml-iso-entities-8879.1986/catalog
+/usr/bin/install-catalog --add $CENTRALIZED /usr/share/sgml/xml-iso-entities-8879.1986/catalog
+/usr/bin/install-catalog --remove $CENTRALIZED /etc/sgml/catalog
--- /dev/null
+++ b/doc-tools/sgml-common/PRE_REMOVE
@@ -0,0 +1,5 @@
+CENTRALIZED="/etc/sgml/catalog"
+
+/usr/bin/install-catalog --remove $CENTRALIZED /usr/share/sgml/xml-iso-entities-8879.1986/catalog
+/usr/bin/install-catalog --remove $CENTRALIZED /usr/share/sgml/sgml-iso-entities-8879.1986/catalog
+/usr/bin/install-catalog --remove $CENTRALIZED $CENTRALIZED




More information about the Lunar-commits mailing list