void-packages/srcpkgs/lftp/template
2013-05-29 18:08:08 +02:00

29 lines
838 B
Text

# Template file for 'lftp'
pkgname=lftp
version=4.4.8
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=acdb4641874c950d80c699de8814fd7f24d54557511f6fb63d88f87227fbb34d
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
}
}