CVS: crater/doc-tools/docbook-3.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

nhudson at lunar-linux.org nhudson at lunar-linux.org
Thu Jul 24 04:24:05 GMT 2003


Update of /var/cvs/lunar/crater/doc-tools/docbook-3.0
In directory dbguin.lunar-linux.org:/tmp/cvs-serv22294/docbook-3.0

Added Files:
	BUILD DEPENDS DETAILS POST_INSTALL POST_REMOVE PRE_BUILD 
	PRE_REMOVE 
Log Message:

Adding docbook-3.0 to crater 


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

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

--- NEW FILE: DETAILS ---
          MODULE=docbook-3.0
             MOD=docbk30
         VERSION=3.0
          SOURCE=$MOD.zip
SOURCE_DIRECTORY=$BUILD_DIRECTORY/tmp
   SOURCE_URL[0]=http://www.lunar-linux.com/lunar/cache/$SOURCE
        WEB_SITE=http://www.oasis-open.org
         ENTERED=20030723
         UPDATED=20030723
           SHORT="The DocBook 3.0 DTD"
cat << EOF
The Docbook 3.0 DTD's

EOF

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

install-catalog --add $centralized $docbook_install_dir/docbook.cat
echo ""
echo "Docbook-3.0 installed"

--- NEW FILE: POST_REMOVE ---
rm -fr /usr/share/sgml/$MODULE

--- 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