diff --git a/pkg.info b/pkg.info index edf9c15..7d5c2e0 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,27 @@ name: curl description: Command line tool and library for transferring data with URLs -version: 8.16.0 +version: 8.17.0 +revision: 1 url: https://curl.se/ license: MIT architecture: any -depends: ["brotli","krb5","libidn2","libnghttp2","libpsl","libssh2","openssl","zlib","zstd"] -make_depends: ["valgrind"] -optional_depends: ["make-ca"] type: source +depends: + - brotli + - krb5 + - libidn2 + - libnghttp2 + - libpsl + - libssh2 + - openssl + - zlib + - zstd +optional_depends: + - make-ca +make_depends: + - valgrind +downloads: + - url: https://github.com/curl/curl/releases/download/curl-${BPM_PKG_VERSION//./_}/curl-${BPM_PKG_VERSION}.tar.gz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: e8e74cdeefe5fb78b3ae6e90cd542babf788fa9480029cfcee6fd9ced42b7910 diff --git a/source.sh b/source.sh index d7aee69..8454406 100644 --- a/source.sh +++ b/source.sh @@ -2,19 +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/curl/curl/archive/refs/tags/curl-${BPM_PKG_VERSION//./_}.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 -prepare() { - wget "$DOWNLOAD" - tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" - - cd "$BPM_SOURCE" - autoreconf -fi -} - # The build function is executed in the source directory # This function is used to compile the source code build() { @@ -33,7 +20,7 @@ build() { # The check function is executed in the source directory # This function is used to run tests to verify the package has been compiled correctly check() { - make test + make TFLAGS="-v -a -k -p -j$(nproc) !433" test-nonflaky } # The package function is executed in the source directory