wok-next diff pidgin-facebookchat/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents a3c581bf52b8
children d5aab818505e
line diff
     1.1 --- a/pidgin-facebookchat/receipt	Fri Aug 10 12:53:17 2018 +0300
     1.2 +++ b/pidgin-facebookchat/receipt	Tue Oct 16 16:46:05 2018 +0300
     1.3 @@ -1,30 +1,26 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="pidgin-facebookchat"
     1.8  VERSION="1.69"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Facebook chat plugin for Pidgin and libpurple messengers."
    1.11 +SHORT_DESC="Facebook chat plugin for Pidgin and libpurple messengers"
    1.12  MAINTAINER="mallory@sweetpeople.org"
    1.13  LICENSE="GPL3"
    1.14 +WEB_SITE="https://github.com/dequis/purple-facebook"
    1.15 +
    1.16  TARBALL="$PACKAGE-source-$VERSION.tar.bz2"
    1.17 -WEB_SITE="https://github.com/dequis/purple-facebook"
    1.18  WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL" # FIXME
    1.19  
    1.20 -DEPENDS="pidgin zip json-glib"
    1.21  BUILD_DEPENDS="libpurple-dev json-glib-dev zlib-dev unzip"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 -	cd $src
    1.27 +compile_rules() {
    1.28  	mv Makefile Makefile.orig
    1.29  	sed -e 's/i686-pc-linux-gnu-gcc/gcc/' < Makefile.orig > Makefile
    1.30 +
    1.31  	make libfacebook.so
    1.32  }
    1.33  
    1.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 -genpkg_rules()
    1.36 -{
    1.37 +genpkg_rules() {
    1.38  	mkdir -p $fs/usr/lib/purple-2
    1.39  	cp -a $src/libfacebook.so $fs/usr/lib/purple-2
    1.40  	
    1.41 @@ -35,5 +31,5 @@
    1.42  	cp -a $stuff/facebook_16x16.png $fs/usr/share/pixmaps/pidgin/protocols/16x16/facebook.png
    1.43  	cp -a $stuff/facebook_22x22.png $fs/usr/share/pixmaps/pidgin/protocols/22x22/facebook.png
    1.44  	cp -a $stuff/facebook_48x48.png $fs/usr/share/pixmaps/pidgin/protocols/48x48/facebook.png
    1.45 +	DEPENDS="pidgin zip json-glib"
    1.46  }
    1.47 -