# SliTaz package receipt.

PACKAGE="lftp"
VERSION="4.2.3"
CATEGORY="network"
SHORT_DESC="Small but powerful ftp client"
MAINTAINER="mimas@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://lftp.yar.ru/"
WGET_URL="http://ftp.yars.free.net/pub/source/lftp/$TARBALL"

DEPENDS="readline expat gcc-lib-base"
BUILD_DEPENDS="readline-dev"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure \
		--without-gnutls \
		--without-openssl \
		$CONFIGURE_ARGS &&
	make &&
	make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr
	cp -a $_pkg/usr/bin $fs/usr
}