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