# SliTaz package receipt. PACKAGE="gftp" VERSION="2.0.19" CATEGORY="network" SHORT_DESC="Small and fast FTP client." MAINTAINER="pankso@slitaz.org" DEPENDS="gtk+ xorg-libXdamage" BUILD_DEPENDS="pkg-config gtk+-dev gtk+" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.gftp.org/" WGET_URL="http://www.gftp.org/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src ./configure --prefix=/usr --mandir=/usr/share/man \ --disable-ssl --disable-textport \ $CONFIGURE_ARGS && make && make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin $fs/usr/share/applications cp -a $_pkg/usr/bin/gftp $fs/usr/bin cp -a $_pkg/usr/bin/gftp-gtk $fs/usr/bin cp -a $_pkg/usr/share/gftp $fs/usr/share chmod 755 $fs/usr/bin/gftp # Copy custom bookmarks file and remove license, big logo. cp -a $stuff/bookmarks $fs/usr/share/gftp cp -a $stuff/gftp $fs/usr/share cp -a $stuff/gftp.desktop $fs/usr/share/applications ln -sf /usr/share/gftp/gftp-mini-logo.xpm \ $fs/usr/share/gftp/gftp-logo.xpm rm -f $fs/usr/share/gftp/COPYING rm -f $fs/usr/share/gftp/gftp.xpm }