blob: 0bc540d83b18b196c0264e581aa738817228fce5 (
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.11
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="8a77bd831050edf90f5a032d85415532 lftp-4.4.11.tar.xz"
sha256sums="3f3e4109e97281ebc517958addff018ca5fc9fdf85f1dc162864f6017dd991a2 lftp-4.4.11.tar.xz"
sha512sums="addbe3671a56aa9dca8c1790d5604f0ec95bf4e1099f463086ecd2a0899d905c17f9b2c630ed6a14410489ee42801ed739193d1e5668b53bd333c6f0e727b5e2 lftp-4.4.11.tar.xz"
|