- Timestamp:
- 10/16/2006 10:59:45 PM (18 years ago)
- Branches:
- 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- 7b6ecc5
- Parents:
- 53f291f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/custom_pkgs
r53f291f re7655b2 38 38 echo "$tab_${GREEN}Adding${OFF} ${THIS_SCRIPT}" 39 39 40 # Create a Makefile entry 41 if [[ "x${PKG}" = "x" ]]; then 42 # Create an entry for a self contained cmd script that does not reference a package tarball 43 ( cat << EOF 44 45 ${THIS_SCRIPT}: ${PREV_SCRIPT} 46 @\$(call echo_message, Building) 47 @./progress_bar.sh \$@ \$\$PPID & 48 @( time { source envars && /\$(SCRIPT_ROOT)/custom-commands/scripts/${THIS_SCRIPT} >>logs/${THIS_SCRIPT} 2>&1 ; } ) 2>>logs/${THIS_SCRIPT} 49 @touch \$@ 50 @\$(call housekeeping) 51 EOF 52 ) >> ${MKFILE}.tmp2 53 54 # Create the build script file 55 ( cat <<- xEOFx 56 #!/bin/bash 57 set -e 58 59 `cat tmp` 60 exit 61 xEOFx 62 ) > custom-commands/scripts/$THIS_SCRIPT 63 64 else 65 # Create an entry for package 40 66 ( cat << EOF 41 67 … … 64 90 xEOFx 65 91 ) > custom-commands/scripts/$THIS_SCRIPT 92 fi 93 66 94 chmod 755 custom-commands/scripts/$THIS_SCRIPT 67 95 rm -f tmp 68 69 96 PREV_SCRIPT=$THIS_SCRIPT 70 97 CUSTOM_LIST="${CUSTOM_LIST}${THIS_SCRIPT} " … … 94 121 fi 95 122 source $this_script 123 # A cmd only script had no PKG defined 124 [[ "x${PKG}" = "x" ]] && continue 125 96 126 echo "${URL} ${BLFS_SERVER}${PKG}/${PKG_FILE} ${MD5}" >> urls.lst.tmp 97 127 # Add any patches..
Note:
See TracChangeset
for help on using the changeset viewer.