wok-next diff emesene/receipt @ rev 20610

transmission: up 2.93
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 19 20:11:53 2018 +0300 (2018-04-19)
parents 795baf180500
children a3c581bf52b8
line diff
     1.1 --- a/emesene/receipt	Sat Jul 29 14:46:34 2017 +0300
     1.2 +++ b/emesene/receipt	Thu Apr 19 20:11:53 2018 +0300
     1.3 @@ -1,50 +1,40 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="emesene"
     1.8  VERSION="1.6"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Instant messaging client for Windows Live Messenger (tm) network."
    1.11 +SHORT_DESC="Instant messaging client for Windows Live Messenger (tm) network"
    1.12  MAINTAINER="rocky@slitaz.org"
    1.13  LICENSE="GPL2 LGPL2.1"
    1.14 +WEB_SITE="http://www.emesene.org"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://www.emesene.org"
    1.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19 -TAGS="im instant-messaging instant-messenger"
    1.20  
    1.21 -DEPENDS="python pygtk pycairo python-pysqlite gst0-python"
    1.22  BUILD_DEPENDS="python-dev"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -    cd $src
    1.28 -    while read file; do
    1.29 -        [ -f done.$file ] && continue
    1.30 -        echo "Apply $file..."
    1.31 -        patch -p1 < $stuff/$file || return 1
    1.32 -        touch done.$file
    1.33 -    done <<EOT
    1.34 -slitaz-openbox.patch
    1.35 -EOT
    1.36 -    python setup.py build_ext -i || return 1
    1.37 +compile_rules() {
    1.38 +	python setup.py build_ext -i || return 1
    1.39 +
    1.40 +	mkdir -p \
    1.41 +		$install/usr/bin \
    1.42 +		$install/usr/share/emesene \
    1.43 +		$install/usr/share/pixmaps \
    1.44 +		$install/usr/share/applications
    1.45 +
    1.46 +	cp $stuff/emesene $install/usr/bin
    1.47 +	cp -a $src/* $install/usr/share/emesene
    1.48 +	cp $install/usr/share/emesene/misc/emesene.png $install/usr/share/pixmaps
    1.49 +	cp $install/usr/share/emesene/misc/emesene.desktop $install/usr/share/applications
    1.50 +
    1.51 +	rm -rf $install/usr/share/emesene/misc
    1.52 +	rm -rf $install/usr/share/emesene/po
    1.53 +	rm -rf $install/usr/share/emesene/libmimic
    1.54 +	rm -rf $install/usr/share/emesene/build
    1.55  }
    1.56  
    1.57 -
    1.58 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.59 -genpkg_rules()
    1.60 -{
    1.61 -    mkdir -p $fs/usr/bin \
    1.62 -        $fs/usr/share/emesene \
    1.63 -        $fs/usr/share/pixmaps \
    1.64 -        $fs/usr/share/applications
    1.65 -
    1.66 -    cp stuff/emesene $fs/usr/bin
    1.67 -    cp -a $src/* $fs/usr/share/emesene
    1.68 -    cp $fs/usr/share/emesene/misc/emesene.png $fs/usr/share/pixmaps
    1.69 -    cp $fs/usr/share/emesene/misc/emesene.desktop $fs/usr/share/applications
    1.70 -
    1.71 -    rm -rf $fs/usr/share/emesene/misc
    1.72 -    rm -rf $fs/usr/share/emesene/po
    1.73 -    rm -rf $fs/usr/share/emesene/libmimic
    1.74 -    rm -rf $fs/usr/share/emesene/build
    1.75 +genpkg_rules() {
    1.76 +	copy @std
    1.77 +	DEPENDS="python pygtk pycairo python-pysqlite gst0-python"
    1.78 +	TAGS="im instant-messaging instant-messenger"
    1.79  }