wok-next diff gftp/receipt @ rev 134

UP : tazlito (1.4) + tazpkg (1.6)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jan 06 22:42:43 2008 +0100 (2008-01-06)
parents
children 4959e5789caa
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gftp/receipt	Sun Jan 06 22:42:43 2008 +0100
     1.3 @@ -0,0 +1,42 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gftp"
     1.7 +VERSION="2.0.18"
     1.8 +CATEGORY="extra"
     1.9 +SHORT_DESC="Small and speed FTP client."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="gtk+"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://www.gftp.org/"
    1.14 +WGET_URL="http://www.gftp.org/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	cd $src
    1.20 +	./configure --prefix=/usr --mandir=/usr/share/man \
    1.21 +	--disable-ssl --disable-textport \
    1.22 +	$CONFIGURE_ARGS
    1.23 +	make
    1.24 +	make DESTDIR=$PWD/_pkg install
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr/bin $fs/usr/share/locale
    1.31 +	cp -a $_pkg/usr/bin/gftp $fs/usr/bin
    1.32 +	cp -a $_pkg/usr/bin/gftp-gtk $fs/usr/bin
    1.33 +	cp -a $_pkg/usr/share/gftp $fs/usr/share
    1.34 +	cp -a $_pkg/usr/share/pixmaps $fs/usr/share
    1.35 +	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    1.36 +	strip -s $fs/usr/bin/*
    1.37 +	chmod 755 $fs/usr/bin/gftp
    1.38 +	
    1.39 +	# Copy custom bookmarks file and remove license, big logo.
    1.40 +	cp -a stuff/bookmarks $fs/usr/share/gftp
    1.41 +	rm -f $fs/usr/share/gftp/COPYING
    1.42 +	rm -f $fs/usr/share/gftp/gftp-logo.xpm
    1.43 +	cd $fs/usr/share/gftp/
    1.44 +	ln -s gftp-mini-logo.xpm gftp-logo.xpm
    1.45 +}