- Timestamp:
- 08/23/2006 06:45:03 PM (18 years ago)
- Branches:
- experimental
- Children:
- 431520b
- Parents:
- aea74cb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BLFS/libs/func_dependencies
raea74cb r9b95f2a 178 178 > xincludes/$PKG.xinc.tmp 179 179 for DEP in `cat dependencies/$PKG.dep`; do 180 181 # Special packages that need be remaped 182 case $DEP in 183 184 db ) continue ;; # The proper version of DB is installed in LFS 185 186 # Don't have their own XML file 187 hal-requirements | hal-runtime-dependencies ) continue ;; 188 perl-* | tk-perl ) DEP=perl-modules ;; 189 190 # Orphan links (proper link must be created when generating the book) 191 arts ) DEP=aRts ;; 192 kde ) DEP=kde-core ;; 193 194 # Set values for alternative packages 195 LPRng | cups ) DEP=$PRINT_SERVER ;; 196 mitkrb | heimdal ) DEP=$KBR5 ;; 197 gs | espgs ) DEP=$GHOSTSCRIPT ;; 198 server-mail ) DEP=$MAIL_SERVER ;; 199 x-window-system ) 200 case $X11 in 201 xorg7 ) DEP=xorg7 ;; 202 * ) 203 pkg_ver=$(grep "^${X11}[[:space:]]" ../packages | cut -f3) 204 inst_ver=$(grep "^${X11}[[:space:]]" ../packages | cut -f4) 205 [ -n "${pkg_ver}" ] && [ "x${pkg_ver}" = "x${inst_ver}" ] && continue 206 ;; 207 esac 208 ;; 209 esac 210 180 211 # If DEP has been previouly installed, skip it 181 212 pkg_ver=$(grep "^${DEP}[[:space:]]" ../packages | cut -f3) 182 213 inst_ver=$(grep "^${DEP}[[:space:]]" ../packages | cut -f4) 183 214 [ -n "${pkg_ver}" ] && [ "x${pkg_ver}" = "x${inst_ver}" ] && continue 184 185 # Special packages (a lot of hacks)186 case $DEP in187 188 db ) continue ;; # The proper version of DB is installed in LFS189 190 # Don't have their own XML file191 hal-requirements | hal-runtime-dependencies ) continue ;;192 perl-* | tk-perl ) DEP=perl-modules ;;193 194 # Orphan links (proper link must be created when generating the book)195 arts ) DEP=aRts ;;196 kde ) DEP=kde-core ;;197 198 # Set values for alternative packages199 # X is a meta-package, thus handled in another way.200 LPRng | cups ) DEP=$PRINT_SERVER ;;201 mitkrb | heimdal ) DEP=$KBR5 ;;202 gs | espgs ) DEP=$GHOSTSCRIPT ;;203 server-mail ) DEP=$MAIL_SERVER ;;204 esac205 215 206 216 #------------------ … … 273 283 cp ../libs/kde-core.dep dependencies/ 274 284 ;; 275 x-window-system ) # X11 alternatives285 x-window-system ) # When X11 is not Xorg7 276 286 echo -e "x-config\nx-setup\n$X11" > dependencies/x-window-system.dep 277 287 ;; 278 xorg7 ) # At dependencies level, remove x-config and x-setup288 xorg7 ) 279 289 cp ../libs/xorg7.dep dependencies/ 280 sed -i '/x-config/d;/x-setup/d' dependencies/xorg7.dep281 290 ;; 282 291 * ) xsltproc --stringparam dependencies $DEP_LV \
Note:
See TracChangeset
for help on using the changeset viewer.