[Lunar-commits] CVS: moonbase/doc-tools/docbook-4.0 BUILD, NONE, 1.1 DEPENDS, NONE, 1.1 DETAILS, NONE, 1.1 POST_INSTALL, NONE, 1.1 POST_REMOVE, NONE, 1.1 PRE_BUILD, NONE, 1.1 PRE_REMOVE, NONE, 1.1

Florin Braescu florin at lunar-linux.org
Sun Sep 19 12:05:42 UTC 2004


Update of /var/cvs/lunar/moonbase/doc-tools/docbook-4.0
In directory espresso.lunar-linux.org:/tmp/cvs-serv29511/doc-tools/docbook-4.0

Added Files:
	BUILD DEPENDS DETAILS POST_INSTALL POST_REMOVE PRE_BUILD 
	PRE_REMOVE 
Log Message:
the DocBook 4.0 DTD.

--- NEW FILE: BUILD ---
(
  TARGET=/usr/share/sgml/docbook/$VERSION
 
  cd $SOURCE_DIRECTORY                          &&
  prepare_install                               &&
  if ! [ -d "$TARGET" ]; then
       mkdir -p $TARGET
  fi                                            &&
 
  cp -a * $TARGET                               &&
 
  ln -sf $TARGET/docbook.cat $TARGET/catalog   
  
) > $C_FIFO 2>&1

--- NEW FILE: DEPENDS ---
depends sgml-common

--- NEW FILE: DETAILS ---
          MODULE=docbook-4.0
             MOD=docbk40
         VERSION=4.0
          SOURCE=$MOD.zip
SOURCE_DIRECTORY=$BUILD_DIRECTORY/tmp
   SOURCE_URL[0]=ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/$SOURCE
   SOURCE_URL[1]=http://lunar-linux.org/lunar/mirrors/$SOURCE
      SOURCE_VFY=sha1:95f9c7d3d339d7d3889bd1f0dabaa6ca55445f26
        WEB_SITE=http://www.oasis-open.org
         ENTERED=20040919
         UPDATED=20040919
           SHORT="The DocBook 4.0 DTD"

cat << EOF
The Docbook 4.0 DTD's.
EOF

--- NEW FILE: POST_INSTALL ---
export centralized=/etc/sgml/catalog 
export docbook_install_dir=/usr/share/sgml/docbook/$VERSION

install-catalog --add $centralized $docbook_install_dir/catalog
echo ""
echo "Docbook-4.0 installed"

--- NEW FILE: POST_REMOVE ---
rm -fr /usr/src/tmp
--- NEW FILE: PRE_BUILD ---
mkdir -p $SOURCE_DIRECTORY
unzip $SOURCE_CACHE/$SOURCE -d $SOURCE_DIRECTORY
  

--- NEW FILE: PRE_REMOVE ---
export centralized=/etc/sgml/catalog
export docbook_install_dir=/usr/share/sgml/$MODULE

install-catalog -r $centralized $docbook_install_dir/docbook.cat  



More information about the Lunar-commits mailing list