wok-current annotate qiviewer/receipt @ rev 13634
Up: eet (1.7.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Nov 15 23:58:36 2012 +0100 (2012-11-15) |
parents | |
children | 380ffe05937a |
rev | line source |
---|---|
pankso@12469 | 1 # SliTaz package receipt. |
pankso@12469 | 2 |
pankso@12469 | 3 PACKAGE="qiviewer" |
pankso@12469 | 4 VERSION="0.5.0" |
pankso@12469 | 5 CATEGORY="x-window" |
pankso@12469 | 6 SHORT_DESC="Light and fast QT based images viewer." |
pankso@12469 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@12469 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@12469 | 9 WEB_SITE="http://code.google.com/p/qiviewer/" |
pankso@12469 | 10 WGET_URL="http://qiviewer.googlecode.com/files/$TARBALL" |
pankso@12469 | 11 |
pankso@12469 | 12 DEPENDS="xorg-libX11 libQtCore libQtGui" |
pankso@12469 | 13 BUILD_DEPENDS="cmake Qt4-dev qmake xorg-dev" |
pankso@12469 | 14 |
pankso@12469 | 15 # Rules to configure and make the package. |
pankso@12469 | 16 compile_rules() |
pankso@12469 | 17 { |
pankso@12469 | 18 cd $src/src |
pankso@12469 | 19 qmake && make && make INSTALL_ROOT=$DESTDIR install && |
pankso@12469 | 20 sed -i s'/Name=qiviewer/Name=Qiviewer/' $install/usr/share/applications/* |
pankso@12469 | 21 } |
pankso@12469 | 22 |
pankso@12469 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12469 | 24 genpkg_rules() |
pankso@12469 | 25 { |
pankso@12469 | 26 mkdir -p $fs/usr/share/applications |
pankso@12469 | 27 cp -a $install/usr/bin $fs/usr |
pankso@12469 | 28 } |