diff options
author | Stuart Cardall <developer@it-offshore.co.uk> | 2017-04-24 12:31:32 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-04-27 09:18:05 +0300 |
commit | db55146dda57b1e2de186ea5d81b6a8280f108f0 (patch) | |
tree | 4ca031c53ec0dda5616d9486219bc7fe7ab5790a /main/lftp | |
parent | b9d5d9df5a7d56c14b6a56555490b1eab3cd2ac5 (diff) | |
download | aports-db55146dda57b1e2de186ea5d81b6a8280f108f0.tar.bz2 aports-db55146dda57b1e2de186ea5d81b6a8280f108f0.tar.xz |
main/lsftp: add thread support / add check()
Diffstat (limited to 'main/lftp')
-rw-r--r-- | main/lftp/APKBUILD | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/main/lftp/APKBUILD b/main/lftp/APKBUILD index 59304a8349..d6bd905d9b 100644 --- a/main/lftp/APKBUILD +++ b/main/lftp/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: Carlo Landmeter <clandmeter@gmail.com> pkgname=lftp pkgver=4.7.7 -pkgrel=1 +pkgrel=2 pkgdesc="LFTP is sophisticated ftp/http client" url="http://lftp.tech/" arch="all" @@ -23,24 +23,24 @@ build() { --prefix=/usr \ --sysconfdir=/etc \ --with-openssl \ + --with-threads=posix \ --with-modules \ --disable-nls \ - --disable-static \ - || return 1 - make || return 1 + --disable-static + make } package() { cd "$builddir" - make -j1 install \ - DESTDIR="$pkgdir" \ - || return 1 - rm -f "$pkgdir"/usr/lib/charset.alias \ - || return 1 - mkdir -p "$pkgdir"/usr/share/doc/$pkgname \ - || return 1 - mv "$pkgdir"/usr/share/$pkgname "$pkgdir"/usr/share/doc/ \ - || return 1 + make -j1 install DESTDIR="$pkgdir" + rm -f "$pkgdir"/usr/lib/charset.alias + mkdir -p "$pkgdir"/usr/share/doc/$pkgname + mv "$pkgdir"/usr/share/$pkgname "$pkgdir"/usr/share/doc/ +} + +check() { + cd "$builddir" + make check } sha512sums="25bcb5469a6202be500a350078f604a56e68958210fbed72c59b2c4847fb6b2680335bf668a512055d1e1db84069e13ba5c169a6ca2fefdf77ef6416df261ab7 lftp-4.7.7.tar.xz" |