wok-next diff qtwitter/receipt @ rev 11834

Add: perl-ecnode-locale
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Feb 27 00:37:05 2012 +0100 (2012-02-27)
parents
children cd14149ba36e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/qtwitter/receipt	Mon Feb 27 00:37:05 2012 +0100
     1.3 @@ -0,0 +1,41 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="qtwitter"
     1.7 +VERSION="0.10.0"
     1.8 +CATEGORY="network"
     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="qmake xorg-libX11-dev dbus-dev Qt4-dev qoauth qca-dev"
    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=$DESTDIR 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 +	cp -a $src/build/qtwitter $fs/usr/bin
    1.39 +	# Libraries
    1.40 +	cp -a $src/build/lib* $fs/usr/bin
    1.41 +
    1.42 +	# Copy .desktop file:
    1.43 +#	cp -a $WOK/$PACKAGE/stuff/* $fs/usr
    1.44 +}