aboutsummaryrefslogtreecommitdiffstats
path: root/main/lftp/APKBUILD
blob: eec4640fa65f187dd739e46d47d58c055b71f834 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=lftp
pkgver=4.4.13
pkgrel=0
pkgdesc="LFTP is sophisticated ftp/http client"
url="http://lftp.yar.ru/"
arch="all"
license="GPL"
depends=
makedepends="openssl-dev readline-dev ncurses-dev gettext-dev"
subpackages="$pkgname-doc"
source="http://lftp.yar.ru/ftp/lftp-$pkgver.tar.xz"

_builddir="$srcdir/$pkgname-$pkgver"


prepare() {
	cd "$_builddir"
}

build() {
	cd "$_builddir"

	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc/lftp \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--with-modules \
		--disable-nls \
		--with-openssl \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make -j1 DESTDIR="$pkgdir" install
	rm "$pkgdir"/usr/lib/*.la
}

md5sums="46aa97b33886230c26be1a0037625496  lftp-4.4.13.tar.xz"
sha256sums="6843790edac63b8391cfafcde662c763e31cd7e43aaba40928681d3f635a1417  lftp-4.4.13.tar.xz"
sha512sums="9230fcedb3fd8fc395904f1389f8d3c04baf69e4b306704abaaf63d278a9fe07fdc1239b38ed3e511e6e96fc6ed6c449883147489c6fdd40b8760d9616798ad7  lftp-4.4.13.tar.xz"