diff --git a/config/templates/cmake b/config/templates/cmake index 8689be0..b7da340 100644 --- a/config/templates/cmake +++ b/config/templates/cmake @@ -2,14 +2,10 @@ # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT -DOWNLOAD="https://wwww.my-url.com/file.tar.gz" -FILENAME="${DOWNLOAD##*/}" - # The prepare function is executed in the root of the temp directory -# This function is used for downloading files and putting them into the correct location +# This function is used for putting downloaded files to the correct location or applying patches prepare() { - wget "$DOWNLOAD" - tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" + echo "You may remove this function if you do not intend to use it" } # The build function is executed in the source directory diff --git a/config/templates/gnu-configure b/config/templates/gnu-configure index 3b95fbb..d80723a 100644 --- a/config/templates/gnu-configure +++ b/config/templates/gnu-configure @@ -2,14 +2,10 @@ # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT -DOWNLOAD="https://wwww.my-url.com/file.tar.gz" -FILENAME="${DOWNLOAD##*/}" - # The prepare function is executed in the root of the temp directory -# This function is used for downloading files and putting them into the correct location +# This function is used for putting downloaded files to the correct location or applying patches prepare() { - wget "$DOWNLOAD" - tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" + echo "You may remove this function if you do not intend to use it" } # The build function is executed in the source directory diff --git a/config/templates/gnu-make b/config/templates/gnu-make index 47edcd4..cda80e2 100644 --- a/config/templates/gnu-make +++ b/config/templates/gnu-make @@ -2,14 +2,10 @@ # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT -DOWNLOAD="https://wwww.my-url.com/file.tar.gz" -FILENAME="${DOWNLOAD##*/}" - # The prepare function is executed in the root of the temp directory -# This function is used for downloading files and putting them into the correct location +# This function is used for putting downloaded files to the correct location or applying patches prepare() { - wget "$DOWNLOAD" - tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" + echo "You may remove this function if you do not intend to use it" } # The build function is executed in the source directory diff --git a/config/templates/meson b/config/templates/meson index ab601b5..81774bb 100644 --- a/config/templates/meson +++ b/config/templates/meson @@ -2,14 +2,10 @@ # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT -DOWNLOAD="https://wwww.my-url.com/file.tar.gz" -FILENAME="${DOWNLOAD##*/}" - # The prepare function is executed in the root of the temp directory -# This function is used for downloading files and putting them into the correct location +# This function is used for putting downloaded files to the correct location or applying patches prepare() { - wget "$DOWNLOAD" - tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" + echo "You may remove this function if you do not intend to use it" } # The build function is executed in the source directory diff --git a/config/templates/python-module b/config/templates/python-module index 9c442ea..0b0a7d0 100644 --- a/config/templates/python-module +++ b/config/templates/python-module @@ -2,14 +2,10 @@ # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT -DOWNLOAD="https://wwww.my-url.com/file.tar.gz" -FILENAME="${DOWNLOAD##*/}" - # The prepare function is executed in the root of the temp directory -# This function is used for downloading files and putting them into the correct location +# This function is used for putting downloaded files to the correct location or applying patches prepare() { - wget "$DOWNLOAD" - tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" + echo "You may remove this function if you do not intend to use it" } # The build function is executed in the source directory