mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
main/wget: add check
This commit is contained in:
parent
9f5a7e1687
commit
b83227ecff
@ -3,13 +3,14 @@
|
||||
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
|
||||
pkgname=wget
|
||||
pkgver=1.19.4
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="A network utility to retrieve files from the Web"
|
||||
url="https://www.gnu.org/software/wget/wget.html"
|
||||
arch="all"
|
||||
license="GPL-3.0-or-later"
|
||||
depends=""
|
||||
makedepends="libressl-dev perl"
|
||||
checkdepends="perl-http-daemon"
|
||||
subpackages="$pkgname-doc"
|
||||
install=""
|
||||
source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz "
|
||||
@ -31,14 +32,18 @@ build() {
|
||||
--mandir=/usr/share/man \
|
||||
--infodir=/usr/share/info \
|
||||
--with-ssl=openssl \
|
||||
--disable-nls \
|
||||
|| return 1
|
||||
make || return 1
|
||||
--disable-nls
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$builddir"
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
make DESTDIR="$pkgdir" install || return 1
|
||||
make DESTDIR="$pkgdir" install
|
||||
|
||||
rm -rf "$pkgdir"/usr/lib
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user