diff options
Diffstat (limited to 'remote/modules/ldm')
| -rw-r--r-- | remote/modules/ldm/ldm.build | 30 |
1 files changed, 13 insertions, 17 deletions
diff --git a/remote/modules/ldm/ldm.build b/remote/modules/ldm/ldm.build index 0e73148c..e88f0b08 100644 --- a/remote/modules/ldm/ldm.build +++ b/remote/modules/ldm/ldm.build @@ -1,30 +1,26 @@ #tool/distro specific functions for fetching, building and installing dependencies fetch_source () { - [ ! -e .fetched_source ] && download_untar "$URL" "src/" - touch .fetched_source + download_untar "$URL" "src/" } build () { - if [ ! -e .built ]; then - cd "src/$VERSION" - pinfo "Running configure" - ./configure --prefix="/" --datarootdir="/usr/share" || perror "failed." - pinfo "Running make" - make || perror "failed." - pinfo "Running make install" - DESTDIR="${MODULE_BUILD_DIR}" make install || perror "failed." + cd "src/$VERSION" + pinfo "Running configure" + ./configure --prefix="/" --datarootdir="/usr/share" || perror "failed." + pinfo "Running make" + make || perror "failed." + pinfo "Running make install" + DESTDIR="${MODULE_BUILD_DIR}" make install || perror "failed." - COPYLIST="list_dpkg_output" + COPYLIST="list_dpkg_output" - [ -e "$COPYLIST" ] && rm "$COPYLIST" + [ -e "$COPYLIST" ] && rm "$COPYLIST" - list_packet_files >> "$COPYLIST" - tarcopy "$(cat "$COPYLIST" | sort -u)" "${MODULE_BUILD_DIR}" + list_packet_files >> "$COPYLIST" + tarcopy "$(cat "$COPYLIST" | sort -u)" "${MODULE_BUILD_DIR}" - cd - - touch .built - fi + cd - } post_copy() { |
