wok-6.x view gftp/receipt @ rev 13781
Up libdrm (2.4.40)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 04 09:46:14 2013 +0100 (2013-01-04) |
parents | af9a1b47948c |
children | d1c17bd2c2bc |
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 DEPENDS="gtk+ xorg-libXdamage"
9 BUILD_DEPENDS="pkg-config gtk+-dev gtk+"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.gftp.org/"
12 WGET_URL="http://www.gftp.org/$TARBALL"
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/applications
30 cp -a $_pkg/usr/bin/gftp $fs/usr/bin
31 cp -a $_pkg/usr/bin/gftp-gtk $fs/usr/bin
32 cp -a $_pkg/usr/share/gftp $fs/usr/share
33 chmod 755 $fs/usr/bin/gftp
35 # Copy custom bookmarks file and remove license, big logo.
36 cp -a $stuff/bookmarks $fs/usr/share/gftp
37 cp -a $stuff/gftp $fs/usr/share
38 cp -a $stuff/gftp.desktop $fs/usr/share/applications
39 ln -sf /usr/share/gftp/gftp-mini-logo.xpm \
40 $fs/usr/share/gftp/gftp-logo.xpm
41 rm -f $fs/usr/share/gftp/COPYING
42 rm -f $fs/usr/share/gftp/gftp.xpm
43 }