Skip to content

Commit

Permalink
added wget
Browse files Browse the repository at this point in the history
  • Loading branch information
christopher-besch committed Jan 2, 2022
1 parent a68c22a commit efc729b
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -875,6 +875,17 @@
}
],
"env": "target"
},
{
"name": "wget",
"version": "2.0.0",
"src_urls": [
{
"url": "https://ftp.gnu.org/gnu/wget/wget2-2.0.0.tar.gz",
"checksum": "b774bb0da9cb84cb9f5bbbcbcc31d00e"
}
],
"env": "target"
}
]
}
21 changes: 21 additions & 0 deletions wget.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# See LICENSE for license details.
#!/bin/bash
set -euo pipefail

unpack_src() {
tar xf wget2-2.0.0.tar.gz
cd wget2-2.0.0
return
}

configure() {
./configure --prefix=/usr --with-ssl
}

make_install() {
make
make DESTDIR=$TODD_FAKE_ROOT_DIR -j1 install
return
}

unpack_src && configure && make_install

0 comments on commit efc729b

Please sign in to comment.