mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 13:37:45 +00:00
Ports: Add port for wget
This commit is contained in:
parent
c2b47c0676
commit
040d2479bf
3 changed files with 26 additions and 0 deletions
13
Ports/wget/package.sh
Executable file
13
Ports/wget/package.sh
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port=wget
|
||||
version=1.21.1
|
||||
useconfigure="true"
|
||||
depends="openssl"
|
||||
files="https://ftpmirror.gnu.org/gnu/wget/wget-${version}.tar.gz wget-${version}.tar.gz
|
||||
https://ftpmirror.gnu.org/gnu/wget/wget-${version}.tar.gz.sig wget-${version}.tar.gz.sig
|
||||
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
|
||||
auth_type="sig"
|
||||
auth_opts="--keyring ./gnu-keyring.gpg wget-${version}.tar.gz.sig"
|
||||
configopts="--with-ssl=openssl --disable-ipv6"
|
||||
|
||||
export OPENSSL_LIBS="-lssl -lcrypto -ldl"
|
12
Ports/wget/patches/configure.patch
Normal file
12
Ports/wget/patches/configure.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff -ur a/build-aux/config.sub b/build-aux/config.sub
|
||||
--- a/build-aux/config.sub 2021-01-09 10:57:19.000000000 +0100
|
||||
+++ b/build-aux/config.sub 2021-04-19 14:45:56.132333538 +0200
|
||||
@@ -1691,7 +1691,7 @@
|
||||
# Now accept the basic system types.
|
||||
# The portable systems comes first.
|
||||
# Each alternative MUST end in a * to match a version number.
|
||||
- gnu* | android* | bsd* | mach* | minix* | genix* | ultrix* | irix* \
|
||||
+ gnu* | android* | bsd* | mach* | minix* | genix* | ultrix* | serenity* | irix* \
|
||||
| *vms* | esix* | aix* | cnk* | sunos | sunos[34]* \
|
||||
| hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
|
||||
| sym* | plan9* | psp* | sim* | xray* | os68k* | v88r* \
|
Loading…
Add table
Add a link
Reference in a new issue