void-packages/srcpkgs/lftp/template
2016-10-06 03:47:48 -04:00

25 lines
869 B
Bash

# Template file for 'lftp'
pkgname=lftp
version=4.7.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"
hostmakedepends="automake libtool pkg-config gettext-devel"
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=3b22259cdc4c1a6ae349057d16bda4b4816929e04d223242ab8927bc31a48e7c
pre_configure() {
sed -i 's/\[0.15\]/[0.19]/' configure.ac
libtoolize -fiv
autoreconf -fi
}