blob: 3f6939c5be642b601abbe015150a256018b3e416 (
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.14
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="809544255f668a6d3af867f643cc321f lftp-4.4.14.tar.xz"
sha256sums="61ceaefbd476061e728e2b1294c27866402237d1d6539ed9ca98769dba3c9189 lftp-4.4.14.tar.xz"
sha512sums="4915392317115ab497b3eb722ef96a17ad3edb114cd639ec39b9eb586d2e5cc0a4c5fa769704095347df774c600e2f8a30a062f27903185c1c2e69e403357928 lftp-4.4.14.tar.xz"
|