diff --git a/pkg.info b/pkg.info index caa4f04..315dd1b 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,23 @@ name: boost description: Collection of high-quality and peer-reviewed libraries that aims to make C++ development highly productive version: 1.89.0 -revision: 2 +revision: 3 url: https://www.boost.org/ license: BSL-1.0 architecture: any -depends: ["bzip2","icu","zlib","zstd"] -make_depends: ["python3","python-numpy","zlib","zstd"] type: source +depends: + - bzip2 + - icu + - zlib + - zstd +make_depends: + - python3 + - python-numpy + - zlib + - zstd +downloads: + - url: https://github.com/boostorg/boost/releases/download/boost-${BPM_PKG_VERSION}/boost-${BPM_PKG_VERSION}-b2-nodocs.tar.xz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 875cc413afa6b86922b6df3b2ad23dec4511c8a741753e57c1129e7fa753d700 diff --git a/source.sh b/source.sh index 71e96f1..2b8010c 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://github.com/boostorg/boost/releases/download/boost-${BPM_PKG_VERSION}/boost-${BPM_PKG_VERSION}-b2-nodocs.tar.xz" -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() {