Ignore:
Timestamp:
08/28/2006 09:41:49 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
44994cb
Parents:
c03e5d0
Message:

Added blfs-tool dependencies build scripts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/common-functions

    rc03e5d0 r3c5ca23  
    578578  esac
    579579
     580  [[ "${BLFS_TOOL}" = "y" ]] && copy_blfs_deps_scripts
     581
    580582  echo " ...OK"
    581583
     
    825827  if [[ "${DEP_SUDO}" = "y" ]] ; then
    826828    echo "${SUDO_URL} ${BLFS_SERVER}sudo/${SUDO_PKG} ${SUDO_MD5}" >> urls.lst
     829    echo "${SUDO_PATCH_URL} ${BLFS_SERVER}sudo/${SUDO_PATCH} ${SUDO_PATCH_MD5}" >> urls.lst
    827830  fi
    828831
     
    837840  if [[ "${DEP_GPM}" = "y" ]] ; then
    838841    echo "${GPM_URL} ${BLFS_SERVER}gpm/${GPM_PKG} ${GPM_MD5}" >> urls.lst
    839   fi
    840 
    841 }
     842    echo "${GPM_PATCH_1_URL} ${BLFS_SERVER}gpm/${GPM_PATCH_1} ${GPM_PATCH_1_MD5}" >> urls.lst
     843    echo "${GPM_PATCH_2_URL} ${BLFS_SERVER}gpm/${GPM_PATCH_2} ${GPM_PATCH_2_MD5}" >> urls.lst
     844  fi
     845
     846}
     847
     848#----------------------------# Maybe there is a better way to do this, but this
     849copy_blfs_deps_scripts() {   # method avoid to place the test on all
     850#----------------------------# $PROGNAME/master.sh scripts.
     851
     852  mkdir -p ${PROGNAME}-commands/blfs-tool-deps
     853
     854  if [[ "${DEP_LIBXML}" = "y" ]] ; then
     855    mv blfs-tool-deps/901-libxml2 ${PROGNAME}-commands/blfs-tool-deps
     856  fi
     857
     858  if [[ "${DEP_LIBXSLT}" = "y" ]] ; then
     859    mv blfs-tool-deps/902-libxslt ${PROGNAME}-commands/blfs-tool-deps
     860  fi
     861
     862  if [[ "${DEP_DBXSL}" = "y" ]] ; then
     863    mv blfs-tool-deps/903-docbook-xsl ${PROGNAME}-commands/blfs-tool-deps
     864  fi
     865
     866  if [[ "${DEP_LINKS}" = "y" ]] ; then
     867    mv blfs-tool-deps/905-links ${PROGNAME}-commands/blfs-tool-deps
     868  fi
     869
     870  if [[ "${DEP_SUDO}" = "y" ]] ; then
     871    mv blfs-tool-deps/906-sudo ${PROGNAME}-commands/blfs-tool-deps
     872  fi
     873
     874  if [[ "${DEP_WGET}" = "y" ]] ; then
     875    mv blfs-tool-deps/907-wget ${PROGNAME}-commands/blfs-tool-deps
     876  fi
     877
     878  if [[ "${DEP_SVN}" = "y" ]] ; then
     879    mv blfs-tool-deps/908-subversion ${PROGNAME}-commands/blfs-tool-deps
     880  fi
     881
     882  if [[ "${DEP_GPM}" = "y" ]] ; then
     883    mv blfs-tool-deps/904-gpm ${PROGNAME}-commands/blfs-tool-deps
     884  fi
     885
     886  rm -rf blfs-tool-deps
     887
     888}
Note: See TracChangeset for help on using the changeset viewer.