wok view ncftp/receipt @ rev 24602

updated git (2.26.2 -> 2.35.1)
author Hans-G?nter Theisgen
date Wed Mar 02 09:04:56 2022 +0100 (2022-03-02)
parents 41d7f62d0d2c
children bc2b9d9bed6f
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 - ${WGET_URL%/*}/ 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed 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 }