summaryrefslogtreecommitdiffstats
path: root/main/lftp/APKBUILD
blob: 7bbf4b8a768a2278b976165353ceb2aae76ed130 (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
32
33
34
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=lftp
pkgver=4.1.0
pkgrel=0
pkgdesc="LFTP is sophisticated ftp/http client"
url="http://lftp.yar.ru/"
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
}

md5sums="0e2370d54b45eb7dc5406c6627d5a177  lftp-4.1.0.tar.bz2"