wok view gftp/receipt @ rev 369

Slitaz-loram: version 1.2, access r/w to /usr
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 08 01:10:18 2008 +0000 (2008-03-08)
parents 4959e5789caa
children eb4e6a1af180
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"
12 JWM_MENU='Internet:<Program icon="gftp.png" label="gFTP">gftp</Program>'
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --mandir=/usr/share/man \
19 --disable-ssl --disable-textport \
20 $CONFIGURE_ARGS
21 make
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin $fs/usr/share/locale
29 cp -a $_pkg/usr/bin/gftp $fs/usr/bin
30 cp -a $_pkg/usr/bin/gftp-gtk $fs/usr/bin
31 cp -a $_pkg/usr/share/gftp $fs/usr/share
32 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
33 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
34 strip -s $fs/usr/bin/*
35 chmod 755 $fs/usr/bin/gftp
37 # Copy custom bookmarks file and remove license, big logo.
38 cp -a stuff/bookmarks $fs/usr/share/gftp
39 rm -f $fs/usr/share/gftp/COPYING
40 rm -f $fs/usr/share/gftp/gftp-logo.xpm
41 cd $fs/usr/share/gftp/
42 ln -s gftp-mini-logo.xpm gftp-logo.xpm
43 }