diff --git a/pkg.info b/pkg.info index 285f4e7..aa67eec 100644 --- a/pkg.info +++ b/pkg.info @@ -1,8 +1,16 @@ name: valgrind description: Instrumentation framework for building dynamic analysis tools -version: 3.25.1 +version: 3.26.0 +revision: 1 url: https://valgrind.org/ license: GPL2-or-later architecture: any -depends: ["glibc","perl"] type: source +depends: + - glibc + - perl +downloads: + - url: https://sourceware.org/pub/valgrind/valgrind-${BPM_PKG_VERSION}.tar.bz2 + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 8d54c717029106f1644aadaf802ab9692e53d93dd015cbd19e74190eba616bd7 diff --git a/source.sh b/source.sh index ecc6938..13c36df 100644 --- a/source.sh +++ b/source.sh @@ -2,16 +2,6 @@ # 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://sourceware.org/pub/valgrind/valgrind-${BPM_PKG_VERSION}.tar.bz2" -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 -prepare() { - wget "$DOWNLOAD" - tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" -} - # The build function is executed in the source directory # This function is used to compile the source code build() { @@ -24,6 +14,7 @@ build() { package() { make DESTDIR="$BPM_OUTPUT" install + # Install package license install -Dm644 "$BPM_SOURCE"/COPYING.DOCS "$BPM_OUTPUT"/usr/share/licenses/valgrind/COPYING.DOCS install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/valgrind/COPYING }