summaryrefslogtreecommitdiff
path: root/repo/util/wget.xibuild
blob: 46b772afb17e17d3556861d30ee3b1c13d0892b4 (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=openssl &&
    make
}

package () {
    make DESTDIR=$PKG_DEST install
}