wok-current annotate gftp/receipt @ rev 485
xarchive: patch for wrappers.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Mar 22 16:07:48 2008 +0100 (2008-03-22) |
parents | eb4e6a1af180 |
children | 7f751ebb914e |
rev | line source |
---|---|
pankso@43 | 1 # SliTaz package receipt. |
pankso@43 | 2 |
pankso@43 | 3 PACKAGE="gftp" |
pankso@43 | 4 VERSION="2.0.18" |
pankso@203 | 5 CATEGORY="network" |
pankso@43 | 6 SHORT_DESC="Small and speed FTP client." |
pankso@43 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@43 | 8 DEPENDS="gtk+" |
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 |
pankso@43 | 13 # Rules to configure and make the package. |
pankso@43 | 14 compile_rules() |
pankso@43 | 15 { |
pankso@43 | 16 cd $src |
pankso@43 | 17 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pankso@43 | 18 --disable-ssl --disable-textport \ |
pankso@43 | 19 $CONFIGURE_ARGS |
pankso@43 | 20 make |
pankso@43 | 21 make DESTDIR=$PWD/_pkg install |
pankso@43 | 22 } |
pankso@43 | 23 |
pankso@43 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@43 | 25 genpkg_rules() |
pankso@43 | 26 { |
pankso@43 | 27 mkdir -p $fs/usr/bin $fs/usr/share/locale |
pankso@43 | 28 cp -a $_pkg/usr/bin/gftp $fs/usr/bin |
pankso@43 | 29 cp -a $_pkg/usr/bin/gftp-gtk $fs/usr/bin |
pankso@43 | 30 cp -a $_pkg/usr/share/gftp $fs/usr/share |
pankso@43 | 31 chmod 755 $fs/usr/bin/gftp |
pankso@43 | 32 |
pankso@43 | 33 # Copy custom bookmarks file and remove license, big logo. |
pankso@43 | 34 cp -a stuff/bookmarks $fs/usr/share/gftp |
pankso@43 | 35 rm -f $fs/usr/share/gftp/COPYING |
pankso@43 | 36 rm -f $fs/usr/share/gftp/gftp-logo.xpm |
pankso@463 | 37 rm -f $fs/usr/share/gftp/gftp.xpm |
pankso@43 | 38 cd $fs/usr/share/gftp/ |
pankso@43 | 39 ln -s gftp-mini-logo.xpm gftp-logo.xpm |
pankso@43 | 40 } |