void-packages/srcpkgs/lftp/template

30 lines
838 B
Plaintext

# Template file for 'lftp'
pkgname=lftp
version=4.4.5
revision=1
build_style=gnu-configure
configure_args="--with-modules --disable-rpath --without-included-regex
--with-openssl i_cv_posix_fallocate_works=yes"
makedepends="ncurses-devel readline-devel openssl-devel expat-devel"
short_desc="Sophisticated FTP/HTTP client"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://lftp.yar.ru/"
license="GPL-3"
distfiles="http://ftp.yars.free.net/pub/source/lftp/lftp-$version.tar.xz"
checksum=b8dfd5faf64c18df9a9233d208eb61595a5b2ef29dbf3d186f3759259aee76dc
if [ "$CROSS_BUILD" ]; then
hostmakedepends="automake libtool gettext-devel pkg-config"
pre_configure() {
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.ac
autoreconf -fi
}
fi
lftp_package() {
conf_files="/etc/lftp.conf"
pkg_install() {
vmove all
}
}