wok-current view gftp/receipt @ rev 608

Up: udev (120) - Admin centralised in udevadm
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 18 16:41:52 2008 +0200 (2008-04-18)
parents eb4e6a1af180
children 7f751ebb914e
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 chmod 755 $fs/usr/bin/gftp
33 # Copy custom bookmarks file and remove license, big logo.
34 cp -a stuff/bookmarks $fs/usr/share/gftp
35 rm -f $fs/usr/share/gftp/COPYING
36 rm -f $fs/usr/share/gftp/gftp-logo.xpm
37 rm -f $fs/usr/share/gftp/gftp.xpm
38 cd $fs/usr/share/gftp/
39 ln -s gftp-mini-logo.xpm gftp-logo.xpm
40 }