wok-next diff gftp/receipt @ rev 20869

mono: fix build on 32-bit
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jul 02 10:15:48 2018 +0300 (2018-07-02)
parents d43bf7aae921
children f48456621a9d
line diff
     1.1 --- a/gftp/receipt	Wed Mar 21 15:58:17 2018 +0200
     1.2 +++ b/gftp/receipt	Mon Jul 02 10:15:48 2018 +0300
     1.3 @@ -1,45 +1,31 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="gftp"
     1.8  VERSION="2.0.19"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Small and fast FTP client."
    1.11 +SHORT_DESC="Small and fast FTP client"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://www.gftp.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://www.gftp.org/"
    1.18  WGET_URL="http://www.gftp.org/$TARBALL"
    1.19  
    1.20 -DEPENDS="gtk+ xorg-libXdamage"
    1.21 -BUILD_DEPENDS="gtk+-dev"
    1.22 +BUILD_DEPENDS="gtk+-dev gettext"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	cd $src
    1.28 -	./configure --prefix=/usr --mandir=/usr/share/man \
    1.29 -	--disable-ssl --disable-textport \
    1.30 -	$CONFIGURE_ARGS &&
    1.31 +compile_rules() {
    1.32 +	./configure \
    1.33 +		--disable-ssl \
    1.34 +		--disable-textport \
    1.35 +		$CONFIGURE_ARGS &&
    1.36  	make &&
    1.37 -	make DESTDIR=$DESTDIR install
    1.38 +	make install
    1.39  }
    1.40  
    1.41 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.42 -genpkg_rules()
    1.43 -{
    1.44 -	mkdir -p $fs/usr/bin $fs/usr/share/applications
    1.45 -
    1.46 -	cp -a $install/usr/bin/gftp $fs/usr/bin
    1.47 -	cp -a $install/usr/bin/gftp-gtk $fs/usr/bin
    1.48 -	cp -a $install/usr/share/gftp $fs/usr/share
    1.49 -	chmod 755 $fs/usr/bin/gftp
    1.50 -
    1.51 -	# Copy custom bookmarks file and remove license, big logo.
    1.52 -	cp -a $stuff/bookmarks $fs/usr/share/gftp
    1.53 -	cp -a $stuff/gftp $fs/usr/share
    1.54 -	cp -a $stuff/gftp.desktop $fs/usr/share/applications
    1.55 -	ln -sf /usr/share/gftp/gftp-mini-logo.xpm \
    1.56 -		$fs/usr/share/gftp/gftp-logo.xpm
    1.57 -	rm -f $fs/usr/share/gftp/COPYING
    1.58 -	rm -f $fs/usr/share/gftp/gftp.xpm
    1.59 +genpkg_rules() {
    1.60 +	copy @std
    1.61 +	cp -r $stuff/gftp $fs/usr/share/
    1.62 +	cd $fs/usr/share/gftp
    1.63 +	rm COPYING gftp.xpm gftp-*.png gftp-*.svg
    1.64 +	DEPENDS="glib gtk+"
    1.65  }