blob: 16cc1318939058f5c8eb02c318ed737ccc1a3f66 (
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.7
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="a4e7b88d6b7aca389010ce6d6dca8099 lftp-4.4.7.tar.bz2"
sha256sums="dc97425ae74698c464244e36ce966fba9163458c6c903d69440a16c8afde85d2 lftp-4.4.7.tar.bz2"
sha512sums="38c78c16d62f666ee3fa5ef214022ced7384a47ea3d7badbf03b2a15f8bd58b9975ba5e54ced5b711a84e838b41b33954495a437e2fee114d93578be6d396c67 lftp-4.4.7.tar.bz2"
|