summaryrefslogtreecommitdiff
path: root/repo/util/wget/wget.xibuild
blob: a5ec664d09c1f6136cd900758b505149606ba974 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

MAKEDEPS="make "
DEPS="musl gnutls libidn libpsl nettle util-linux pcre2 zlib cacerts"

PKG_VER=1.21.2
SOURCE=https://ftp.gnu.org/gnu/wget/wget-$PKG_VER.tar.gz
DESC="A utility for transfering files with URL syntax"

build () {
    ./configure --prefix=/usr      \
            --sysconfdir=/etc  \
            --with-ssl=openssl &&
    make
}

package () {
    make DESTDIR=$PKG_DEST install
}