wok view ncftp/receipt @ rev 24944
updated n2n (2.4 -> 3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 22 16:44:33 2022 +0100 (2022-04-22) |
parents | 241fb98cab1c |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="ncftp"
4 VERSION="3.2.6"
5 CATEGORY="network"
6 SHORT_DESC="A File Transfer Protocol client."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="Artistic"
9 WEB_SITE="https://www.ncftp.com/ncftp/"
11 TARBALL="$PACKAGE-$VERSION-src.tar.xz"
12 WGET_URL="ftp://ftp.ncftp.com/ncftp/$TARBALL"
14 DEPENDS="ncurses"
15 BUILD_DEPENDS="ncurses-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/FF0000/!d;s|.*0000">||;s|</FONT.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export LDFLAGS="$LDFLAGS -ltinfo"
28 ./configure --prefix=/usr --sysconfdir=/etc &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 }