Switch to new download format and fix dependencies
This commit is contained in:
@@ -1,9 +1,27 @@
|
|||||||
name: wget
|
name: wget
|
||||||
description: Network utility to retrieve files from the Web
|
description: Network utility to retrieve files from the Web
|
||||||
version: 1.25.0
|
version: 1.25.0
|
||||||
|
revision: 2
|
||||||
url: https://www.gnu.org/software/wget/wget.html
|
url: https://www.gnu.org/software/wget/wget.html
|
||||||
license: GPL3
|
license: GPL3
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["glibc","gnutls","libidn2","libpsl","nettle","pcre2","util-linux","zlib"]
|
|
||||||
optional_depends: ["make-ca","gperf","perl","python3"]
|
|
||||||
type: source
|
type: source
|
||||||
|
depends:
|
||||||
|
- glibc
|
||||||
|
- gnutls
|
||||||
|
- libidn2
|
||||||
|
- libpsl
|
||||||
|
- nettle
|
||||||
|
- pcre2
|
||||||
|
- util-linux
|
||||||
|
- zlib
|
||||||
|
optional_depends:
|
||||||
|
- ca-certificates
|
||||||
|
make_depends:
|
||||||
|
- gperf
|
||||||
|
- perl
|
||||||
|
downloads:
|
||||||
|
- url: https://ftpmirror.gnu.org/gnu/wget/wget-${BPM_PKG_VERSION}.tar.gz
|
||||||
|
extract_to: ${BPM_SOURCE}
|
||||||
|
extract_strip_components: 1
|
||||||
|
checksum: 766e48423e79359ea31e41db9e5c289675947a7fcf2efdcedb726ac9d0da3784
|
||||||
|
|||||||
@@ -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 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
|
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||||
|
|
||||||
DOWNLOAD="https://ftpmirror.gnu.org/gnu/wget/wget-${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
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
@@ -19,13 +9,6 @@ build() {
|
|||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
# The check function is executed in the source directory
|
|
||||||
# This function is used to run tests to verify the package has been compiled correctly
|
|
||||||
# Temporarily disabled due to broken tests
|
|
||||||
#check() {
|
|
||||||
#make check
|
|
||||||
#}
|
|
||||||
|
|
||||||
# The package function is executed in the source directory
|
# The package function is executed in the source directory
|
||||||
# This function is used to move the compiled files into the output directory
|
# This function is used to move the compiled files into the output directory
|
||||||
package() {
|
package() {
|
||||||
|
|||||||
Reference in New Issue
Block a user