wok-undigest annotate qtwitter/receipt @ rev 449

Add libdesktop-agnostic-dev (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 07 11:20:48 2011 +0200 (2011-09-07)
parents 9540c7fb55c6
children 5676dc6897f6
rev   line source
ben@168 1 # SliTaz package receipt.
ben@168 2
ben@168 3 PACKAGE="qtwitter"
ben@168 4 VERSION="0.10.0"
pascal@329 5 CATEGORY="network"
ben@168 6 SHORT_DESC="A Qt-based, cross-network microblogging client."
ben@168 7 MAINTAINER="ben@seawolfsanctuary.com"
ben@168 8 DEPENDS="glibc-locale libQtCore libQtGui libQtNetwork libQtSvg libQtXml \
ben@168 9 libQtDesigner libQtScript libQt3Support libQtClucene libQtDBus libQtHelp \
ben@168 10 libQtOpenGL libQtSql libQtWebkit qoauth"
pascal@407 11 BUILD_DEPENDS="qmake xorg-libX11-dev dbus-dev Qt4-dev qoauth slitaz-toolchain"
ben@168 12 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
ben@168 13 WEB_SITE="http://www.ayoy.net/$PACKAGE"
ben@168 14 WGET_URL="http://files.ayoy.net/$PACKAGE/release/$VERSION/src/$TARBALL"
ben@168 15
ben@168 16 # Rules to configure and make the package.
ben@168 17 compile_rules()
ben@168 18 {
ben@168 19 echo -n "Linking..."
ben@168 20 ln -s $WOK/$PACKAGE-$VERSION-src $src
ben@168 21 status
ben@168 22
ben@168 23 cd $src
ben@168 24
ben@168 25 qmake PREFIX="/usr" && \
pascal@329 26 make -j4 && make DESTDIR=$DESTDIR install
ben@168 27 }
ben@168 28
ben@168 29 # Rules to gen a SliTaz package suitable for Tazpkg.
ben@168 30 genpkg_rules()
ben@168 31 {
ben@168 32 mkdir -p $fs/usr/lib $fs/usr/bin
ben@168 33
ben@168 34 # Binaries
ben@168 35 for FILE in qtwitter ; do
ben@168 36 cp -a $src/$FILE $fs/usr/bin
ben@168 37 done
ben@168 38 # Libraries
ben@168 39 for FILE in \
ben@168 40 liburlshortener.so.1.0.0 \
ben@168 41 liburlshortener.so.1.0 \
ben@168 42 liburlshortener.so.1 \
ben@168 43 liburlshortener.so \
ben@168 44 libtwitterapi.so.0.9.1 \
ben@168 45 libtwitterapi.so.0.9 \
ben@168 46 libtwitterapi.so.0 \
ben@168 47 libtwitterapi.so ; do
ben@168 48 cp -a $src/$FILE $fs/usr/lib
ben@168 49 done
ben@168 50
ben@168 51 # Copy .desktop file:
ben@168 52 # cp -a $WOK/$PACKAGE/stuff/* $fs/usr
ben@168 53 }