aboutsummaryrefslogtreecommitdiffstats
path: root/main/lftp
diff options
context:
space:
mode:
Diffstat (limited to 'main/lftp')
-rw-r--r--main/lftp/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/main/lftp/APKBUILD b/main/lftp/APKBUILD
new file mode 100644
index 0000000000..239573c121
--- /dev/null
+++ b/main/lftp/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
+pkgname=lftp
+pkgver=3.7.14
+pkgrel=1
+pkgdesc="LFTP is sophisticated ftp/http client"
+url="http://lftp.yar.ru/"
+license="GPL"
+depends=
+makedepends="openssl-dev uclibc++-dev readline-dev ncurses-dev gettext-dev"
+subpackages="$pkgname-doc"
+source="http://ftp.yars.free.net/pub/source/lftp/lftp-${pkgver}.tar.bz2"
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ export CXX=g++-uc
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc/lftp \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --with-modules \
+ --disable-nls \
+ --with-openssl
+ make || return 1
+ make -j1 DESTDIR="$pkgdir" install
+
+}
+
+md5sums="723d372833d6a94c15cc78cc98565517 lftp-3.7.14.tar.bz2"