CVS: crater/doc-tools/sgml-common BUILD, NONE, 1.1 DEPENDS, NONE, 1.1 DETAILS, NONE, 1.1 POST_INSTALL, NONE, 1.1 PRE_REMOVE, NONE, 1.1

nhudson at lunar-linux.org nhudson at lunar-linux.org
Thu Jul 24 03:32:27 GMT 2003


Update of /var/cvs/lunar/crater/doc-tools/sgml-common
In directory dbguin.lunar-linux.org:/tmp/cvs-serv11466/sgml-common

Added Files:
	BUILD DEPENDS DETAILS POST_INSTALL PRE_REMOVE 
Log Message:

Adding sgml-common and fixing more on openjade



--- NEW FILE: BUILD ---
(

  ##all of this odd behavior is caused by Red Hat providing their package
  ##with fscking symlinks to the requisite pieces of automake!

  cd $BUILD_DIRECTORY/$MODULE-$VERSION                   &&
  rm -f COPYING INSTALL install-sh missing mkinstalldirs &&
  ln -sf /usr/share/automake/COPYING COPYING             &&
  ln -sf /usr/share/automake/INSTALL INSTALL             &&
  ln -sf /usr/share/automake/install-sh install-sh       &&
  ln -sf /usr/share/automake/missing missing             &&
  ln -sf /usr/share/automake/mkinstalldirs mkinstalldirs &&

  for FILE in `find . -name Makefile.in` ; do
    sedit "s/docdir = @docdir@/docdir = \/usr\/share\/doc/" $FILE
    sedit "s/sgml-common- at VERSION@\/html/sgml-common\/html/g" $FILE
  done

  default_build

) > $C_FIFO 2>&1

--- NEW FILE: DEPENDS ---
depends  automake

--- NEW FILE: DETAILS ---
          MODULE=sgml-common
         VERSION=0.6.3
	  SOURCE=$MODULE-$VERSION.tgz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
   SOURCE_URL[0]=ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/$SOURCE
   SOURCE_URL[1]=http://lunar-linux.org/lunar/mirrors/docbook/$SOURCE
        WEB_SITE=http://www.iso.ch/cate/3524030.html
         ENTERED=20020630
         UPDATED=20021119
      MAINTAINER=csm at moongroup.com
           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

--- NEW FILE: POST_INSTALL ---
centralized="/etc/sgml/catalog"

if ! [ -e "$centralized" ]; then
     echo "Creating $centralized!" 
     touch $centralized
fi

/usr/bin/install-catalog -a $centralized /usr/share/sgml/sgml-iso-entities-8879.1986/catalog

--- NEW FILE: PRE_REMOVE ---
centralized="/etc/sgml/catalog"

/usr/bin/install-catalog --remove $centralized /usr/share/sgml/sgml-iso-entities-8879.1986/catalog




More information about the Lunar-commits mailing list