wok view qtwitter/receipt @ rev 20804
syslinux/iso2exe: add a MessageBox for Win9x
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 16 17:45:15 2019 +0100 (2019-02-16) |
parents | 7d6089953592 |
children | b9659e3c2111 |
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 LICENSE="LGPL3"
9 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
10 WEB_SITE="https://web.archive.org/web/20130113073128/http://blog.ayoy.net/qtwitter"
11 WGET_URL="http://files.ayoy.net/$PACKAGE/release/$VERSION/src/$TARBALL"
13 DEPENDS="glibc-locale libQtCore libQtGui libQtNetwork libQtSvg libQtXml \
14 libQtDesigner libQtScript libQt3Support libQtClucene libQtDBus libQtHelp \
15 libQtOpenGL libQtSql libQtWebkit qoauth qca"
16 BUILD_DEPENDS="qmake xorg-dev dbus-dev Qt4-dev qoauth qca-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 sed -i 's|-Wl,-rpath|-Wl,--copy-dt-needed-entries -lX11 &|' \
23 qtwitter-app/qtwitter-app.pro
24 qmake PREFIX="/usr" && \
25 make -j4 && make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib $fs/usr/bin \
32 $fs/usr/share/applications $fs/usr/share/pixmaps
34 # Binaries
35 cp -a $src/build/qtwitter $fs/usr/bin
36 # Libraries
37 cp -a $src/build/lib* $fs/usr/lib
38 # Copy .desktop file:
39 cp -a $src/qtwitter-app/x11/*.desktop $fs/usr/share/applications
40 cp -a $src/qtwitter-app/x11/icons/32x32/*.png $fs/usr/share/pixmaps
41 }