Manuel,
I am able to generate the dependency files KDE-{core,full}.dep from the data in the configuration file.(see below). The "-MOD" file extension is for testing only.

Run memuconfig against the gen_config.sh output and see if this is what you were thinking of.


#!/bin/sh
# FILE: regen_deps.sh
#   Regenerate dependency files from parameters in <configuration>
#

  # Housekeeping
rm -f libs/*.dep-MOD

while [ 0 ]; do
  read || break 1

    # Skip comments/blank lines
  case ${REPLY} in
  \#* | '') continue ;;
  esac

    # Drop the "=y" statement, unneeded
  REPLY=${REPLY%=*}
  if [[ "${REPLY:0:4}" = "DEP_" ]]; then
    META_PACKAGE=$(echo $REPLY | cut -d "_" -f2 | tr [A-Z] [a-z])
    [[ ! -e libs/${META_PACKAGE}.dep-MOD ]] && \
       >libs/${META_PACKAGE}.dep-MOD

    DEP_FNAME=$(echo $REPLY | cut -d "_" -f3)
     echo "${DEP_FNAME}" >>libs/${META_PACKAGE}.dep-MOD
  fi
done <configuration
exit
--
http://linuxfromscratch.org/mailman/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to