wok-current view qtwitter/receipt @ rev 19853

Remove tazchroot (not used for yearsand unusable)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Mar 16 18:35:33 2017 +0100 (2017-03-16)
parents d51be739eda0
children c49ffc024a6c
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="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 }