summaryrefslogblamecommitdiff
path: root/user/wget/APKBUILD
blob: 53803f2389608c5f62d70dc209728f9d8ee710e5 (plain) (tree)
1
2
3
4
                                              
                                      
            
             































                                                                 
                                                                                                                                                                 
# Contributor: Nathan <ndowens@artixlinux.org>
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=wget
pkgver=1.24.5
pkgrel=0
pkgdesc="Network utility to retrieve files from the Web"
url="https://www.gnu.org/software/wget/wget.html"
arch="all"
license="GPL-3.0+"
depends=""
makedepends="libidn2-dev openssl-dev perl"
checkdepends="perl-http-daemon"
subpackages="$pkgname-doc $pkgname-lang"
source="https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--with-libidn \
		--with-ssl=openssl
	make
}

check() {
	make -C tests check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="572aa54717e51a9eb9959e127c7afb696645088f32ff7df2cfe9d243957e34ee235e98988fa94649df023d2e3d62b6973e8c9f2eb92beba820dd96d5de2a950d  wget-1.24.5.tar.gz"