wok annotate libdbusmenu-qt/receipt @ rev 15652
Up netsurf (2.9)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 11 10:13:20 2013 +0100 (2013-12-11) |
parents | 4904e3d374a9 |
children | f62a091ed37c |
rev | line source |
---|---|
pankso@10657 | 1 # SliTaz package receipt. |
pankso@10657 | 2 |
pankso@10657 | 3 PACKAGE="libdbusmenu-qt" |
pankso@10657 | 4 VERSION="0.8.0" |
pankso@10657 | 5 CATEGORY="system-tools" |
pankso@10657 | 6 SHORT_DESC="Library to import and export QMenu instances using the DBusMenu." |
pankso@10657 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15004 | 8 LICENSE="LGPL2" |
pankso@10657 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@10657 | 10 WEB_SITE="https://launchpad.net/libdbusmenu-qt" |
pascal@13995 | 11 WGET_URL="$WEB_SITE/trunk/$VERSION/+download/$TARBALL" |
pankso@10657 | 12 |
pankso@10657 | 13 DEPENDS="dbus" |
monghitri@13997 | 14 BUILD_DEPENDS="cmake qmake Qt4-dev libQtCore libQtDBus libQtGui dbus-dev wget" |
pankso@10657 | 15 |
pankso@10657 | 16 # Rules to configure and make the package. |
pankso@10657 | 17 compile_rules() |
pankso@10657 | 18 { |
pankso@10657 | 19 mkdir -p $src/build |
pankso@10657 | 20 cd $src/build |
pankso@10657 | 21 cmake \ |
pankso@10657 | 22 -DCMAKE_BUILD_TYPE=Release \ |
pankso@10657 | 23 -DCMAKE_INSTALL_PREFIX=/usr .. && |
pankso@10657 | 24 make && make install |
pankso@10657 | 25 } |
pankso@10657 | 26 |
pankso@10657 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10657 | 28 genpkg_rules() |
pankso@10657 | 29 { |
pankso@10657 | 30 mkdir -p $fs/usr/lib |
pascal@13995 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@10657 | 32 } |