wok annotate gftp/receipt @ rev 11975
merge
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Fri Mar 02 11:54:25 2012 -0800 (2012-03-02) |
parents | 909ce0b09c25 |
children | 88cfcda0c8aa |
rev | line source |
---|---|
pankso@43 | 1 # SliTaz package receipt. |
pankso@43 | 2 |
pankso@43 | 3 PACKAGE="gftp" |
erjo@1816 | 4 VERSION="2.0.19" |
pankso@203 | 5 CATEGORY="network" |
pankso@43 | 6 SHORT_DESC="Small and speed FTP client." |
pankso@43 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2516 | 8 DEPENDS="gtk+ xorg-libXdamage" |
pascal@1460 | 9 BUILD_DEPENDS="pkg-config gtk+-dev gtk+" |
pankso@43 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@43 | 11 WEB_SITE="http://www.gftp.org/" |
pankso@43 | 12 WGET_URL="http://www.gftp.org/$TARBALL" |
pankso@43 | 13 |
pankso@43 | 14 # Rules to configure and make the package. |
pankso@43 | 15 compile_rules() |
pankso@43 | 16 { |
pankso@43 | 17 cd $src |
pankso@43 | 18 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pankso@43 | 19 --disable-ssl --disable-textport \ |
pascal@1460 | 20 $CONFIGURE_ARGS && |
pascal@1460 | 21 make && |
pankso@43 | 22 make DESTDIR=$PWD/_pkg install |
pankso@43 | 23 } |
pankso@43 | 24 |
pankso@43 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@43 | 26 genpkg_rules() |
pankso@43 | 27 { |
pascal@11623 | 28 mkdir -p $fs/usr/bin $fs/usr/share/applications |
pascal@11623 | 29 |
pankso@43 | 30 cp -a $_pkg/usr/bin/gftp $fs/usr/bin |
pankso@43 | 31 cp -a $_pkg/usr/bin/gftp-gtk $fs/usr/bin |
pankso@43 | 32 cp -a $_pkg/usr/share/gftp $fs/usr/share |
pankso@43 | 33 chmod 755 $fs/usr/bin/gftp |
pascal@11623 | 34 |
pankso@43 | 35 # Copy custom bookmarks file and remove license, big logo. |
pascal@11623 | 36 cp -a $stuff/bookmarks $fs/usr/share/gftp |
pascal@11623 | 37 cp -a $stuff/gftp $fs/usr/share |
pascal@11623 | 38 cp -a $stuff/gftp.desktop $fs/usr/share/applications |
slaxemulator@8663 | 39 ln -sf /usr/share/gftp/gftp-mini-logo.xpm \ |
pascal@2570 | 40 $fs/usr/share/gftp/gftp-logo.xpm |
pankso@43 | 41 rm -f $fs/usr/share/gftp/COPYING |
pankso@463 | 42 rm -f $fs/usr/share/gftp/gftp.xpm |
pankso@43 | 43 } |