summaryrefslogtreecommitdiff
path: root/repo/util/wget.xibuild
blob: 2187c5d0c56a8fa13fc3229a36046db0e8fd5953 (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="glibc gnutls libidn2 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=libressl &&
    make
}

package () {
    make DESTDIR=$PKG_DEST install
}