wok view qtwitter/receipt @ rev 11885
pcmanfm2: Improve package integration
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Feb 28 14:35:10 2012 +0100 (2012-02-28) |
parents | |
children | cd14149ba36e |
line source
1 # SliTaz package receipt.
3 PACKAGE="qtwitter"
4 VERSION="0.10.0"
5 CATEGORY="network"
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="qmake xorg-libX11-dev dbus-dev Qt4-dev qoauth qca-dev"
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=$DESTDIR 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 cp -a $src/build/qtwitter $fs/usr/bin
36 # Libraries
37 cp -a $src/build/lib* $fs/usr/bin
39 # Copy .desktop file:
40 # cp -a $WOK/$PACKAGE/stuff/* $fs/usr
41 }