wok-stable view gftp/receipt @ rev 43
Add : gcolor2, geany, gftp, gimp, gitmail, gqview, grsync
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Dec 18 14:18:59 2007 +0100 (2007-12-18) |
parents | |
children | 4959e5789caa |
line source
1 # SliTaz package receipt.
3 PACKAGE="gftp"
4 VERSION="2.0.18"
5 CATEGORY="extra"
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 }