void-packages/srcpkgs/lftp/template
2018-02-27 14:00:07 +01:00

28 lines
976 B
Bash

# Template file for 'lftp'
pkgname=lftp
version=4.8.3
revision=2
lib32disabled=yes
build_style=gnu-configure
configure_args="--with-modules --disable-rpath --without-included-regex
--with-openssl --with-libidn i_cv_posix_fallocate_works=yes
--with-zlib=${XBPS_CROSS_BASE}/usr --with-readline=${XBPS_CROSS_BASE}/usr
gl_cv_func_signbit=yes"
hostmakedepends="automake libtool pkg-config gettext-devel wget"
makedepends="zlib-devel ncurses-devel readline-devel libressl-devel
expat-devel libidn-devel"
conf_files="/etc/lftp.conf"
short_desc="Sophisticated FTP/HTTP client"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://lftp.yar.ru/"
license="GPL-3"
distfiles="http://lftp.yar.ru/ftp/${pkgname}-${version}.tar.xz"
checksum=de7aee451afaa1aa391f7076b5f602922c2da0e05524a8d8fea413eda83cc78b
XBPS_FETCH_CMD=wget # checks user-agent, serves html/please donate with xbps
pre_configure() {
sed -i 's/\[0.15\]/[0.19]/' configure.ac
libtoolize -fiv
autoreconf -fi
}