wok-current annotate gftp/receipt @ rev 15924
ntp: avoid refection attacks
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 19 09:17:04 2014 +0000 (2014-02-19) |
parents | 88cfcda0c8aa |
children | af8d823a3077 |
rev | line source |
---|---|
pankso@43 | 1 # SliTaz package receipt. |
pankso@43 | 2 |
pankso@43 | 3 PACKAGE="gftp" |
erjo@1816 | 4 VERSION="2.0.19" |
pankso@203 | 5 CATEGORY="network" |
samuel_trassare@12045 | 6 SHORT_DESC="Small and fast FTP client." |
pankso@43 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15589 | 8 LICENSE="GPL2" |
pankso@43 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@43 | 10 WEB_SITE="http://www.gftp.org/" |
pankso@43 | 11 WGET_URL="http://www.gftp.org/$TARBALL" |
pankso@43 | 12 |
pascal@15589 | 13 DEPENDS="gtk+ xorg-libXdamage" |
pascal@15589 | 14 BUILD_DEPENDS="pkg-config gtk+-dev gtk+" |
pascal@15589 | 15 |
pankso@43 | 16 # Rules to configure and make the package. |
pankso@43 | 17 compile_rules() |
pankso@43 | 18 { |
pankso@43 | 19 cd $src |
pankso@43 | 20 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pankso@43 | 21 --disable-ssl --disable-textport \ |
pascal@1460 | 22 $CONFIGURE_ARGS && |
pascal@1460 | 23 make && |
pascal@15589 | 24 make DESTDIR=$DESTDIR install |
pankso@43 | 25 } |
pankso@43 | 26 |
pankso@43 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@43 | 28 genpkg_rules() |
pankso@43 | 29 { |
pascal@11623 | 30 mkdir -p $fs/usr/bin $fs/usr/share/applications |
pascal@11623 | 31 |
pascal@15589 | 32 cp -a $install/usr/bin/gftp $fs/usr/bin |
pascal@15589 | 33 cp -a $install/usr/bin/gftp-gtk $fs/usr/bin |
pascal@15589 | 34 cp -a $install/usr/share/gftp $fs/usr/share |
pankso@43 | 35 chmod 755 $fs/usr/bin/gftp |
pascal@11623 | 36 |
pankso@43 | 37 # Copy custom bookmarks file and remove license, big logo. |
pascal@11623 | 38 cp -a $stuff/bookmarks $fs/usr/share/gftp |
pascal@11623 | 39 cp -a $stuff/gftp $fs/usr/share |
pascal@11623 | 40 cp -a $stuff/gftp.desktop $fs/usr/share/applications |
slaxemulator@8663 | 41 ln -sf /usr/share/gftp/gftp-mini-logo.xpm \ |
pascal@2570 | 42 $fs/usr/share/gftp/gftp-logo.xpm |
pankso@43 | 43 rm -f $fs/usr/share/gftp/COPYING |
pankso@463 | 44 rm -f $fs/usr/share/gftp/gftp.xpm |
pankso@43 | 45 } |