diff --git a/srcpkgs/lftp/template b/srcpkgs/lftp/template index 568fbed57a..e2e5d95568 100644 --- a/srcpkgs/lftp/template +++ b/srcpkgs/lftp/template @@ -1,25 +1,22 @@ # Template file for 'lftp' pkgname=lftp -version=4.4.8 +version=4.4.10 revision=1 build_style=gnu-configure configure_args="--with-modules --disable-rpath --without-included-regex --with-openssl i_cv_posix_fallocate_works=yes" +hostmakedepends="libtool pkg-config" 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=acdb4641874c950d80c699de8814fd7f24d54557511f6fb63d88f87227fbb34d +distfiles="http://lftp.yar.ru/ftp/lftp-${version}.tar.xz" +checksum=04eba6be3ebb7b6074017d5c56f2cc106122edd055bbc446a264400214c56830 -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 +pre_configure() { + libtoolize -f +} lftp_package() { conf_files="/etc/lftp.conf"