Changeset f694f27 for BLFS/gen-makefile.sh
- Timestamp:
- 08/24/2006 06:49:35 PM (18 years ago)
- Branches:
- experimental
- Children:
- 740b8c0
- Parents:
- c0cf6c8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BLFS/gen-makefile.sh
rc0cf6c8 rf694f27 49 49 local pkg_name=$1 50 50 local pkg_ver=$2 51 local alsa_ver=$(grep "^alsa[[:space:]]" ../packages | cut -f3) 52 local kde_core_ver=$(grep "^kde-core[[:space:]]" ../packages | cut -f3) 53 local xorg7_ver=$(grep "^xorg7[[:space:]]" ../packages | cut -f3) 51 54 52 55 if [[ -n "$pkg_ver" ]] ; then … … 57 60 ) >> $MKFILE.tmp 58 61 fi 62 63 case $pkg_name in 64 *-alsa-lib ) #this the unique mandatory package for ALSA support. 65 ( 66 cat << EOF 67 @touch \$(TRACKING_DIR)/alsa-${alsa_ver} 68 EOF 69 ) >> $MKFILE.tmp 70 ;; 71 *-kdebase ) 72 ( 73 cat << EOF 74 @touch \$(TRACKING_DIR)/kde-core-${kde_core_ver} 75 EOF 76 ) >> $MKFILE.tmp 77 ;; 78 *-xorg7-driver ) # xtrerm2 and rman are optional 79 ( 80 cat << EOF 81 @touch \$(TRACKING_DIR)/xorg7-${xorg7_ver} 82 EOF 83 ) >> $MKFILE.tmp 84 ;; 85 esac 59 86 60 87 ( … … 102 129 local pkg_ver=$(grep "^${meta_pkg}[[:space:]]" ../packages | cut -f3) 103 130 local gnome_core_ver=$(grep "^gnome-core[[:space:]]" ../packages | cut -f3) 104 local kde_core_ver=$(grep "^kde-core[[:space:]]" ../packages | cut -f3)105 131 local kde_full_ver=$(grep "^kde-full[[:space:]]" ../packages | cut -f3) 106 132 … … 121 147 ) >> $MKFILE.tmp 122 148 ;; 123 kde-full )124 (125 cat << EOF126 @touch \$(TRACKING_DIR)/kde-core-${kde_core_ver}127 EOF128 ) >> $MKFILE.tmp129 ;;130 149 kde-koffice ) 131 150 ( 132 151 cat << EOF 133 @touch \$(TRACKING_DIR)/kde-core-${kde_core_ver}134 152 @touch \$(TRACKING_DIR)/kde-full-${kde_full_ver} 135 153 EOF … … 168 186 PACKAGE=$(basename $PWD) 169 187 188 # alsa, kde-core and xorg7 are also available dependencies, thus handled 189 # in another way. 170 190 case $PACKAGE in 171 alsa | \172 191 gnome-core | \ 173 192 gnome-full | \ 174 kde-core | \175 193 kde-full | \ 176 kde-koffice | \ 177 xorg7 ) pkg_list="$pkg_list 999-z-${PACKAGE}" 178 __write_meta_pkg_touch "${PACKAGE}" 179 ;; 194 kde-koffice ) pkg_list="$pkg_list 999-z-${PACKAGE}" 195 __write_meta_pkg_touch "${PACKAGE}" 196 ;; 180 197 esac 181 198
Note:
See TracChangeset
for help on using the changeset viewer.