wok-6.x annotate libdbusmenu-qt/receipt @ rev 19964
Up pyhn (0.3.9)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Mon May 29 17:32:03 2017 +0100 (2017-05-29) |
parents | a00bf44ed23d |
children | ad8b9ff412d2 |
rev | line source |
---|---|
pankso@10657 | 1 # SliTaz package receipt. |
pankso@10657 | 2 |
pankso@10657 | 3 PACKAGE="libdbusmenu-qt" |
pankso@15934 | 4 VERSION="0.9.2" |
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@15934 | 23 -DCMAKE_INSTALL_PREFIX=/usr \ |
pankso@15934 | 24 -DWITH_DOC=OFF .. && |
pankso@10657 | 25 make && make install |
pankso@10657 | 26 } |
pankso@10657 | 27 |
pankso@10657 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10657 | 29 genpkg_rules() |
pankso@10657 | 30 { |
pankso@10657 | 31 mkdir -p $fs/usr/lib |
pascal@13995 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@10657 | 33 } |