wok-next annotate ncftp/receipt @ rev 18289
knock: set default interface
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 14 10:06:48 2015 +0200 (2015-08-14) |
parents | 23c3aed67cd9 |
children | 466bca9334ef |
rev | line source |
---|---|
pascal@15197 | 1 # SliTaz package receipt. |
pascal@15197 | 2 |
pascal@15197 | 3 PACKAGE="ncftp" |
pascal@15197 | 4 VERSION="3.2.5" |
pascal@15197 | 5 CATEGORY="network" |
pascal@15197 | 6 SHORT_DESC="A File Transfer Protocol client." |
pascal@15247 | 7 WEB_SITE="http://www.ncftp.com/ncftp/" |
pascal@15197 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15601 | 9 LICENSE="Artistic" |
pascal@15197 | 10 TARBALL="$PACKAGE-$VERSION-src.tar.bz2" |
pascal@15247 | 11 WGET_URL="ftp://ftp.ncftp.com/ncftp/$TARBALL" |
pascal@15197 | 12 |
pascal@15197 | 13 DEPENDS="ncurses" |
pascal@15197 | 14 BUILD_DEPENDS="ncurses-dev" |
pascal@15197 | 15 |
pascal@15197 | 16 # Rules to configure and make the package. |
pascal@15197 | 17 compile_rules() |
pascal@15197 | 18 { |
pascal@17672 | 19 export LDFLAGS="$LDFLAGS -ltinfo" |
pascal@15197 | 20 ./configure --prefix=/usr --sysconfdir=/etc && |
pascal@15197 | 21 make && |
pascal@15197 | 22 make DESTDIR=$DESTDIR install |
pascal@15197 | 23 } |
pascal@15197 | 24 |
pascal@15197 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15197 | 26 genpkg_rules() |
pascal@15197 | 27 { |
pascal@15197 | 28 mkdir -p $fs/usr |
pascal@15197 | 29 cp -a $install/usr/bin $fs/usr |
pascal@15197 | 30 } |