wok rev 12280

qtwitter: improve receipt
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 15 13:59:44 2012 +0200 (2012-04-15)
parents 7d28c312b2bf
children 7fe8af4e7fc7
files qtwitter/receipt
line diff
     1.1 --- a/qtwitter/receipt	Sun Apr 15 13:59:01 2012 +0200
     1.2 +++ b/qtwitter/receipt	Sun Apr 15 13:59:44 2012 +0200
     1.3 @@ -5,23 +5,19 @@
     1.4  CATEGORY="network"
     1.5  SHORT_DESC="A Qt-based, cross-network microblogging client."
     1.6  MAINTAINER="ben@seawolfsanctuary.com"
     1.7 +TARBALL="$PACKAGE-$VERSION-src.tar.gz"
     1.8 +WEB_SITE="http://blog.ayoy.net/qtwitter"
     1.9 +WGET_URL="http://files.ayoy.net/$PACKAGE/release/$VERSION/src/$TARBALL"
    1.10 +
    1.11  DEPENDS="glibc-locale libQtCore libQtGui libQtNetwork libQtSvg libQtXml \
    1.12  libQtDesigner libQtScript libQt3Support libQtClucene libQtDBus libQtHelp \
    1.13 -libQtOpenGL libQtSql libQtWebkit qoauth"
    1.14 +libQtOpenGL libQtSql libQtWebkit qoauth qca"
    1.15  BUILD_DEPENDS="qmake xorg-libX11-dev dbus-dev Qt4-dev qoauth qca-dev"
    1.16 -TARBALL="$PACKAGE-$VERSION-src.tar.gz"
    1.17 -WEB_SITE="http://www.ayoy.net/$PACKAGE"
    1.18 -WGET_URL="http://files.ayoy.net/$PACKAGE/release/$VERSION/src/$TARBALL"
    1.19  
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22  {
    1.23 -	echo -n "Linking..."
    1.24 -		ln -s $WOK/$PACKAGE-$VERSION-src $src
    1.25 -	status
    1.26 -
    1.27  	cd $src
    1.28 -	
    1.29  	qmake PREFIX="/usr" && \
    1.30  	make -j4 && make DESTDIR=$DESTDIR install
    1.31  }
    1.32 @@ -29,13 +25,14 @@
    1.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.34  genpkg_rules()
    1.35  {
    1.36 -	mkdir -p $fs/usr/lib $fs/usr/bin
    1.37 +	mkdir -p $fs/usr/lib $fs/usr/bin \
    1.38 +		$fs/usr/share/applications $fs/usr/share/pixmaps
    1.39  
    1.40  	# Binaries
    1.41  	cp -a $src/build/qtwitter $fs/usr/bin
    1.42  	# Libraries
    1.43 -	cp -a $src/build/lib* $fs/usr/bin
    1.44 -
    1.45 +	cp -a $src/build/lib* $fs/usr/lib
    1.46  	# Copy .desktop file:
    1.47 -#	cp -a $WOK/$PACKAGE/stuff/* $fs/usr
    1.48 +	cp -a $src/qtwitter-app/x11/*.desktop $fs/usr/share/applications
    1.49 +	cp -a $src/qtwitter-app/x11/icons/32x32/*.png $fs/usr/share/pixmaps
    1.50  }