wok-next annotate qtwitter/receipt @ rev 12637
Up lguest (3.2.14)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 29 20:52:23 2012 +0200 (2012-04-29) |
parents | cd14149ba36e |
children | d51be739eda0 |
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" |
pankso@12280 | 8 TARBALL="$PACKAGE-$VERSION-src.tar.gz" |
pankso@12280 | 9 WEB_SITE="http://blog.ayoy.net/qtwitter" |
pankso@12280 | 10 WGET_URL="http://files.ayoy.net/$PACKAGE/release/$VERSION/src/$TARBALL" |
pankso@12280 | 11 |
pascal@11227 | 12 DEPENDS="glibc-locale libQtCore libQtGui libQtNetwork libQtSvg libQtXml \ |
pascal@11227 | 13 libQtDesigner libQtScript libQt3Support libQtClucene libQtDBus libQtHelp \ |
pankso@12280 | 14 libQtOpenGL libQtSql libQtWebkit qoauth qca" |
pankso@12282 | 15 BUILD_DEPENDS="qmake xorg-dev dbus-dev Qt4-dev qoauth qca-dev" |
pascal@11227 | 16 |
pascal@11227 | 17 # Rules to configure and make the package. |
pascal@11227 | 18 compile_rules() |
pascal@11227 | 19 { |
pascal@11227 | 20 cd $src |
pascal@11227 | 21 qmake PREFIX="/usr" && \ |
pascal@11227 | 22 make -j4 && make DESTDIR=$DESTDIR install |
pascal@11227 | 23 } |
pascal@11227 | 24 |
pascal@11227 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11227 | 26 genpkg_rules() |
pascal@11227 | 27 { |
pankso@12280 | 28 mkdir -p $fs/usr/lib $fs/usr/bin \ |
pankso@12280 | 29 $fs/usr/share/applications $fs/usr/share/pixmaps |
pascal@11227 | 30 |
pascal@11227 | 31 # Binaries |
pascal@11227 | 32 cp -a $src/build/qtwitter $fs/usr/bin |
pascal@11227 | 33 # Libraries |
pankso@12280 | 34 cp -a $src/build/lib* $fs/usr/lib |
pascal@11227 | 35 # Copy .desktop file: |
pankso@12280 | 36 cp -a $src/qtwitter-app/x11/*.desktop $fs/usr/share/applications |
pankso@12280 | 37 cp -a $src/qtwitter-app/x11/icons/32x32/*.png $fs/usr/share/pixmaps |
pascal@11227 | 38 } |