wok-undigest view 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 source
1 # SliTaz package receipt.
3 PACKAGE="qtwitter"
4 VERSION="0.10.0"
5 CATEGORY="internet"
6 SHORT_DESC="A Qt-based, cross-network microblogging client."
7 MAINTAINER="ben@seawolfsanctuary.com"
8 DEPENDS="glibc-locale libQtCore libQtGui libQtNetwork libQtSvg libQtXml \
9 libQtDesigner libQtScript libQt3Support libQtClucene libQtDBus libQtHelp \
10 libQtOpenGL libQtSql libQtWebkit qoauth"
11 BUILD_DEPENDS="xorg-libX11-dev dbus-dev Qt4-dev qoauth slitaz-toolchain"
12 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
13 WEB_SITE="http://www.ayoy.net/$PACKAGE"
14 WGET_URL="http://files.ayoy.net/$PACKAGE/release/$VERSION/src/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 echo -n "Linking..."
20 ln -s $WOK/$PACKAGE-$VERSION-src $src
21 status
23 cd $src
25 qmake PREFIX="/usr" && \
26 make -j4 && make DESTDIR=$_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib $fs/usr/bin
34 # Binaries
35 for FILE in qtwitter ; do
36 cp -a $src/$FILE $fs/usr/bin
37 done
38 # Libraries
39 for FILE in \
40 liburlshortener.so.1.0.0 \
41 liburlshortener.so.1.0 \
42 liburlshortener.so.1 \
43 liburlshortener.so \
44 libtwitterapi.so.0.9.1 \
45 libtwitterapi.so.0.9 \
46 libtwitterapi.so.0 \
47 libtwitterapi.so ; do
48 cp -a $src/$FILE $fs/usr/lib
49 done
51 # Copy .desktop file:
52 # cp -a $WOK/$PACKAGE/stuff/* $fs/usr
53 }