wok view gftp/receipt @ rev 449

Fix rsync deps on libpopt (Thanks Paul)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 16 20:22:01 2008 +0100 (2008-03-16)
parents 00b8d39101ac
children 28b23f950f49
line source
1 # SliTaz package receipt.
3 PACKAGE="gftp"
4 VERSION="2.0.18"
5 CATEGORY="network"
6 SHORT_DESC="Small and speed FTP client."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gftp.org/"
11 WGET_URL="http://www.gftp.org/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --mandir=/usr/share/man \
18 --disable-ssl --disable-textport \
19 $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin $fs/usr/share/locale
28 cp -a $_pkg/usr/bin/gftp $fs/usr/bin
29 cp -a $_pkg/usr/bin/gftp-gtk $fs/usr/bin
30 cp -a $_pkg/usr/share/gftp $fs/usr/share
31 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
32 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
33 strip -s $fs/usr/bin/*
34 chmod 755 $fs/usr/bin/gftp
36 # Copy custom bookmarks file and remove license, big logo.
37 cp -a stuff/bookmarks $fs/usr/share/gftp
38 rm -f $fs/usr/share/gftp/COPYING
39 rm -f $fs/usr/share/gftp/gftp-logo.xpm
40 cd $fs/usr/share/gftp/
41 ln -s gftp-mini-logo.xpm gftp-logo.xpm
42 }