wok-next view qtwitter/receipt @ rev 14482
gst-plugins-ugly: update deps+bdeps
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu May 02 22:44:19 2013 +0200 (2013-05-02) |
parents | 7731cce850f0 |
children | 7d6089953592 |
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 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
9 WEB_SITE="http://blog.ayoy.net/qtwitter"
10 WGET_URL="http://files.ayoy.net/$PACKAGE/release/$VERSION/src/$TARBALL"
12 DEPENDS="glibc-locale libQtCore libQtGui libQtNetwork libQtSvg libQtXml \
13 libQtDesigner libQtScript libQt3Support libQtClucene libQtDBus libQtHelp \
14 libQtOpenGL libQtSql libQtWebkit qoauth qca"
15 BUILD_DEPENDS="qmake xorg-dev dbus-dev Qt4-dev qoauth qca-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i 's|-Wl,-rpath|-Wl,--copy-dt-needed-entries -lX11 &|' \
22 qtwitter-app/qtwitter-app.pro
23 qmake PREFIX="/usr" && \
24 make -j4 && make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib $fs/usr/bin \
31 $fs/usr/share/applications $fs/usr/share/pixmaps
33 # Binaries
34 cp -a $src/build/qtwitter $fs/usr/bin
35 # Libraries
36 cp -a $src/build/lib* $fs/usr/lib
37 # Copy .desktop file:
38 cp -a $src/qtwitter-app/x11/*.desktop $fs/usr/share/applications
39 cp -a $src/qtwitter-app/x11/icons/32x32/*.png $fs/usr/share/pixmaps
40 }