- Timestamp:
- 08/16/2006 11:18:19 PM (18 years ago)
- Branches:
- experimental
- Children:
- b5effd5
- Parents:
- bcbf830
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BLFS/gen_config.sh
rbcbf830 r711f160 57 57 PKG_XML_FILE=$(basename $2) 58 58 PKG_DIR=$(dirname $2) 59 # These are the META packages. for gnome and kde (soon ALSA and Xorg7) 59 60 if [ $PKG_DIR = "." ]; then 61 SET_COMMENT=y 60 62 if [ -e $TRACKING_DIR/${PKG_NAME} ]; then continue; fi 61 PKG_NAME=$(echo ${PKG_NAME} | tr [a-z] [A-Z]) 62 echo -e "config CONFIG_$PKG_NAME" >> $outFile 63 echo -e "\tbool \"$PKG_NAME\"" >> $outFile 64 echo -e "\tdefault n" >> $outFile 63 META_PKG=$(echo ${PKG_NAME} | tr [a-z] [A-Z]) 64 #( 65 #cat << EOF 66 # config META_$META_PKG 67 # bool "$(echo ${PKG_NAME} | tr [a-z] [A-Z]) components" 68 #EOF 69 #) >> $outFile 70 echo -e "menu \"$(echo ${PKG_NAME} | tr [a-z] [A-Z]) components\"" >> $outFile 71 # Include the dependency data for this meta package 72 while [ 0 ]; do 73 read || break 1 74 PKG_NAME=${REPLY} 75 get_pkg_ver "${PKG_NAME}" 76 ( 77 cat << EOF 78 config DEP_${META_PKG}_${PKG_NAME} 79 # depends META_${META_PKG} 80 bool "$PKG_NAME ${PKG_VER}" 81 default y 82 83 EOF 84 ) >> $outFile 85 done <./libs/${PKG_NAME}.dep 86 echo -e "endmenu" >> $outFile 65 87 continue 66 88 fi 67 89 [[ "${SET_COMMENT}" = "y" ]] && echo "comment \"--\"" >>$outFile; unset SET_COMMENT 90 68 91 # Deal with a few unusable chapter names 69 92 case ${PKG_NAME} in … … 87 110 # Define a top level menu 88 111 if [ "$PREV_DIR1" != "${DIR_TREE[1]}" ]; then 112 [[ "${DIR_TREE[1]}" = "kde" ]] && continue 113 [[ "${DIR_TREE[1]}" = "gnome" ]] && continue 114 89 115 if [ $MENU_SET1 = "y" ]; then 90 116 # Close out any open secondary menu
Note:
See TracChangeset
for help on using the changeset viewer.