diff --git a/pkg.info b/pkg.info index 9de3084..92515f3 100644 --- a/pkg.info +++ b/pkg.info @@ -1,8 +1,18 @@ name: swig description: Software development tool that connects programs written in C and C++ with a variety of high-level programming languages -version: 4.3.1 +version: 4.4.0 +revision: 1 url: https://www.swig.org/ license: GPL3-or-later,LicenseRef-BSD-Arizona,LicenseRef-BSD-Chicago,LicenseRef-BSD-Utah-California architecture: any -depends: ["gcc-libs", "glibc", "pcre2", "zlib"] type: source +depends: + - gcc-libs + - glibc + - pcre2 + - zlib +downloads: + - url: https://downloads.sourceforge.net/project/swig/swig/swig-${BPM_PKG_VERSION}/swig-${BPM_PKG_VERSION}.tar.gz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: c3f8e5dcd68c18aa19847b33b0a1bb92f07e904c53ae9cf5ae4ff8727a72927e diff --git a/source.sh b/source.sh index 4302311..b305200 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://downloads.sourceforge.net/swig/swig-${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" -} - # The build function is executed in the source directory # This function is used to compile the source code build() {