opt/lftp/Pkgfile

33 lines
665 B
Plaintext
Raw Normal View History

2006-02-23 15:26:10 +00:00
# Description: Sophisticated command line based FTP client
2024-06-19 13:03:51 +02:00
# URL: https://lftp.yar.ru/
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: expat openssl readline zlib
# Optional: libidn2
2006-02-23 15:26:10 +00:00
name=lftp
2020-08-15 13:18:49 +02:00
version=4.9.2
2024-10-16 18:15:31 +02:00
release=3
source=(https://lftp.yar.ru/ftp/lftp-$version.tar.xz
http://deb.debian.org/debian/pool/main/l/lftp/lftp_4.9.2-3.debian.tar.xz)
2006-02-23 15:26:10 +00:00
build() {
2021-01-29 14:22:47 +01:00
cd $name-$version
2006-02-23 15:26:10 +00:00
2024-10-16 18:15:31 +02:00
local p
for p in $(< $SRC/debian/patches/series); do
patch -p1 -i $SRC/debian/patches/$p
done
autoreconf -fi
2021-01-29 14:22:47 +01:00
./configure \
--prefix=/usr \
--disable-nls \
--with-openssl=/usr \
--sysconfdir=/usr/etc
2006-02-23 15:26:10 +00:00
2021-01-29 14:22:47 +01:00
make
make DESTDIR=$PKG install
2006-02-23 15:26:10 +00:00
2021-01-29 14:22:47 +01:00
rm -r $PKG/usr/lib
2006-02-23 15:26:10 +00:00
}