wok-current view gftp/receipt @ rev 803

hal: dont --enable-parted... bad idea +100 Kb
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 15 23:30:24 2008 +0200 (2008-05-15)
parents 28b23f950f49
children f08ead2d5191
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
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 cp -a stuff/gftp $fs/usr/share
36 rm -f $fs/usr/share/gftp/COPYING
37 rm -f $fs/usr/share/gftp/gftp-logo.xpm
38 rm -f $fs/usr/share/gftp/gftp.xpm
39 }