wok-6.x annotate qtwitter/receipt @ rev 11227
Add from wok-undigest: qtwitter radiotray rdpdesk rsbep siproxd songwrite soprano soprano-dev t2 thttpd tp_smapi ucarp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 04 12:23:07 2011 +0100 (2011-11-04) |
parents | |
children | cd14149ba36e |
rev | line source |
---|---|
pascal@11227 | 1 # SliTaz package receipt. |
pascal@11227 | 2 |
pascal@11227 | 3 PACKAGE="qtwitter" |
pascal@11227 | 4 VERSION="0.10.0" |
pascal@11227 | 5 CATEGORY="network" |
pascal@11227 | 6 SHORT_DESC="A Qt-based, cross-network microblogging client." |
pascal@11227 | 7 MAINTAINER="ben@seawolfsanctuary.com" |
pascal@11227 | 8 DEPENDS="glibc-locale libQtCore libQtGui libQtNetwork libQtSvg libQtXml \ |
pascal@11227 | 9 libQtDesigner libQtScript libQt3Support libQtClucene libQtDBus libQtHelp \ |
pascal@11227 | 10 libQtOpenGL libQtSql libQtWebkit qoauth" |
pascal@11227 | 11 BUILD_DEPENDS="qmake xorg-libX11-dev dbus-dev Qt4-dev qoauth qca-dev" |
pascal@11227 | 12 TARBALL="$PACKAGE-$VERSION-src.tar.gz" |
pascal@11227 | 13 WEB_SITE="http://www.ayoy.net/$PACKAGE" |
pascal@11227 | 14 WGET_URL="http://files.ayoy.net/$PACKAGE/release/$VERSION/src/$TARBALL" |
pascal@11227 | 15 |
pascal@11227 | 16 # Rules to configure and make the package. |
pascal@11227 | 17 compile_rules() |
pascal@11227 | 18 { |
pascal@11227 | 19 echo -n "Linking..." |
pascal@11227 | 20 ln -s $WOK/$PACKAGE-$VERSION-src $src |
pascal@11227 | 21 status |
pascal@11227 | 22 |
pascal@11227 | 23 cd $src |
pascal@11227 | 24 |
pascal@11227 | 25 qmake PREFIX="/usr" && \ |
pascal@11227 | 26 make -j4 && make DESTDIR=$DESTDIR install |
pascal@11227 | 27 } |
pascal@11227 | 28 |
pascal@11227 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11227 | 30 genpkg_rules() |
pascal@11227 | 31 { |
pascal@11227 | 32 mkdir -p $fs/usr/lib $fs/usr/bin |
pascal@11227 | 33 |
pascal@11227 | 34 # Binaries |
pascal@11227 | 35 cp -a $src/build/qtwitter $fs/usr/bin |
pascal@11227 | 36 # Libraries |
pascal@11227 | 37 cp -a $src/build/lib* $fs/usr/bin |
pascal@11227 | 38 |
pascal@11227 | 39 # Copy .desktop file: |
pascal@11227 | 40 # cp -a $WOK/$PACKAGE/stuff/* $fs/usr |
pascal@11227 | 41 } |