wok-current view gftp/receipt @ rev 17022

busybox/fatattr: fix arm arch (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 14 09:30:28 2014 +0200 (2014-08-14)
parents 88cfcda0c8aa
children af8d823a3077
line source
1 # SliTaz package receipt.
3 PACKAGE="gftp"
4 VERSION="2.0.19"
5 CATEGORY="network"
6 SHORT_DESC="Small and fast FTP client."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gftp.org/"
11 WGET_URL="http://www.gftp.org/$TARBALL"
13 DEPENDS="gtk+ xorg-libXdamage"
14 BUILD_DEPENDS="pkg-config gtk+-dev gtk+"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --mandir=/usr/share/man \
21 --disable-ssl --disable-textport \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin $fs/usr/share/applications
32 cp -a $install/usr/bin/gftp $fs/usr/bin
33 cp -a $install/usr/bin/gftp-gtk $fs/usr/bin
34 cp -a $install/usr/share/gftp $fs/usr/share
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 cp -a $stuff/gftp $fs/usr/share
40 cp -a $stuff/gftp.desktop $fs/usr/share/applications
41 ln -sf /usr/share/gftp/gftp-mini-logo.xpm \
42 $fs/usr/share/gftp/gftp-logo.xpm
43 rm -f $fs/usr/share/gftp/COPYING
44 rm -f $fs/usr/share/gftp/gftp.xpm
45 }