blob: de23dfddbaee19cacbe8270b6ab59526a5e6eca6 (
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
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=lftp
pkgver=4.4.8
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://ftp.yars.free.net/pub/source/lftp/lftp-${pkgver}.tar.bz2"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
# fix eglibc-2.16 build issue
sed -i -e '/gets is a/d' \
lib/stdio.in.h || return 1
}
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
rm "$pkgdir"/usr/lib/*.la
}
md5sums="7140263fbe12f17f74183cf065a7d381 lftp-4.4.8.tar.bz2"
sha256sums="eff598397e421ba978927eb70f6b78d6a8dea8a25a17e11b43ce6ae55383e63d lftp-4.4.8.tar.bz2"
sha512sums="d512e8b9c06cfdd67f1dc269f1e07d7e833b6fece6c8f3a4eec9b884ce226092790cc0b95d788eef83a66a2a07ca7c3f29e22692365e100f0aa54c953bb9a84f lftp-4.4.8.tar.bz2"
|