# Contributor: Carlo Landmeter # Maintainer: Carlo Landmeter pkgname=lftp pkgver=4.3.2 pkgrel=0 pkgdesc="LFTP is sophisticated ftp/http client" url="http://lftp.yar.ru/" arch="all" license="GPL" depends= makedepends="openssl-dev readline-dev ncurses-dev gettext-dev" subpackages="$pkgname-doc" source="http://ftp.yars.free.net/pub/source/lftp/lftp-${pkgver}.tar.bz2" _builddir="$srcdir/$pkgname-$pkgver" build() { cd "$_builddir" ./configure --prefix=/usr \ --sysconfdir=/etc/lftp \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --with-modules \ --disable-nls \ --with-openssl make || return 1 } package() { cd "$_builddir" make -j1 DESTDIR="$pkgdir" install rm "$pkgdir"/usr/lib/*.la } md5sums="18f5c5b351cfad0a0ab069592effd664 lftp-4.3.2.tar.bz2"