diff --git a/pkg.info b/pkg.info index 5dca7c3..a8ea159 100644 --- a/pkg.info +++ b/pkg.info @@ -1,8 +1,16 @@ name: libnl description: Netlink Library Suite -version: 3.11.0 +version: 3.12.0 +revision: 1 url: https://github.com/thom311/libnl license: LGPL2.1 architecture: any -depends: ["gcc-libs", "glibc"] type: source +depends: + - gcc-libs + - glibc +downloads: + - url: https://github.com/thom311/libnl/releases/download/libnl${BPM_PKG_VERSION//./_}/libnl-${BPM_PKG_VERSION}.tar.gz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: fc51ca7196f1a3f5fdf6ffd3864b50f4f9c02333be28be4eeca057e103c0dd18 diff --git a/source.sh b/source.sh index f6a0cca..1b5726b 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/thom311/libnl/releases/download/libnl${BPM_PKG_VERSION//./_}/libnl-${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() {