aboutsummaryrefslogtreecommitdiffstats
path: root/extra/lftp/APKBUILD
blob: 9ef6d6c8e8fff47bdcd6aeebf46f1ba804ff4590 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=lftp
pkgver=3.7.11
pkgrel=0
pkgdesc="LFTP is sophisticated ftp/http client"
url="http://lftp.yar.ru/"
license="GPL"
depends="uclibc ncurses libgcc openssl readline"
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="ffe8415ace828bdf2f7b79d8cbbfbbc9  lftp-3.7.11.tar.bz2"