diff --git a/srcpkgs/lftp/template b/srcpkgs/lftp/template index 1959219ebd6..a9ff2b36dcb 100644 --- a/srcpkgs/lftp/template +++ b/srcpkgs/lftp/template @@ -1,21 +1,29 @@ # Template file for 'lftp' pkgname=lftp -version=4.4.3 +version=4.4.5 revision=1 build_style=gnu-configure -configure_args="--with-modules --disable-rpath --without-included-regex --with-openssl" +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 " homepage="http://lftp.yar.ru/" license="GPL-3" distfiles="http://ftp.yars.free.net/pub/source/lftp/lftp-$version.tar.xz" -checksum=86d399b1515950e54c47950a99260919b9bb9cb5775ac14334e66b6b88b5ce84 +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 etc - vmove usr + vmove all } }