summaryrefslogtreecommitdiff
path: root/repo/util/wget.xibuild
blob: 035e23147e1bccac55eee4b1c27ac1cb21f53aef (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 libidn2 libpsl nettle util-linux pcre22 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=libressl &&
    make
}

package () {
    make DESTDIR=$PKG_DEST install
}