wok-undigest diff qtwitter/receipt @ rev 303

Add matchbox-panel-2 (Matchbox desktop panel)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jun 08 02:30:07 2011 +0200 (2011-06-08)
parents
children 9540c7fb55c6
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/qtwitter/receipt	Wed Jun 08 02:30:07 2011 +0200
     1.3 @@ -0,0 +1,53 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="qtwitter"
     1.7 +VERSION="0.10.0"
     1.8 +CATEGORY="internet"
     1.9 +SHORT_DESC="A Qt-based, cross-network microblogging client."
    1.10 +MAINTAINER="ben@seawolfsanctuary.com"
    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 +BUILD_DEPENDS="xorg-libX11-dev dbus-dev Qt4-dev qoauth slitaz-toolchain"
    1.15 +TARBALL="$PACKAGE-$VERSION-src.tar.gz"
    1.16 +WEB_SITE="http://www.ayoy.net/$PACKAGE"
    1.17 +WGET_URL="http://files.ayoy.net/$PACKAGE/release/$VERSION/src/$TARBALL"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	echo -n "Linking..."
    1.23 +		ln -s $WOK/$PACKAGE-$VERSION-src $src
    1.24 +	status
    1.25 +
    1.26 +	cd $src
    1.27 +	
    1.28 +	qmake PREFIX="/usr" && \
    1.29 +	make -j4 && make DESTDIR=$_pkg install
    1.30 +}
    1.31 +
    1.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 +genpkg_rules()
    1.34 +{
    1.35 +	mkdir -p $fs/usr/lib $fs/usr/bin
    1.36 +
    1.37 +	# Binaries
    1.38 +	for FILE in qtwitter ; do
    1.39 +		cp -a $src/$FILE $fs/usr/bin
    1.40 +	done
    1.41 +	# Libraries
    1.42 +	for FILE in \
    1.43 +	liburlshortener.so.1.0.0 \
    1.44 +	liburlshortener.so.1.0 \
    1.45 +	liburlshortener.so.1 \
    1.46 +	liburlshortener.so \
    1.47 +	libtwitterapi.so.0.9.1 \
    1.48 +	libtwitterapi.so.0.9 \
    1.49 +	libtwitterapi.so.0 \
    1.50 +	libtwitterapi.so ; do
    1.51 +		cp -a $src/$FILE $fs/usr/lib
    1.52 +	done
    1.53 +
    1.54 +	# Copy .desktop file:
    1.55 +#	cp -a $WOK/$PACKAGE/stuff/* $fs/usr
    1.56 +}