wok-next annotate libdbusmenu-qt/receipt @ rev 11698
added Expect
author | toronado |
---|---|
date | Sat Feb 18 15:12:19 2012 -0800 (2012-02-18) |
parents | |
children | ca30f29e8297 |
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" |
pankso@10657 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@10657 | 9 WEB_SITE="https://launchpad.net/libdbusmenu-qt" |
pankso@10657 | 10 WGET_URL="http://launchpad.net/libdbusmenu-qt/trunk/$VERSION/+download/$TARBALL" |
pankso@10657 | 11 |
pankso@10657 | 12 DEPENDS="dbus" |
pankso@10657 | 13 BUILD_DEPENDS="cmake qmake Qt4-dev dbus-dev" |
pankso@10657 | 14 |
pankso@10657 | 15 # Rules to configure and make the package. |
pankso@10657 | 16 compile_rules() |
pankso@10657 | 17 { |
pankso@10657 | 18 mkdir -p $src/build |
pankso@10657 | 19 cd $src/build |
pankso@10657 | 20 cmake \ |
pankso@10657 | 21 -DCMAKE_BUILD_TYPE=Release \ |
pankso@10657 | 22 -DCMAKE_INSTALL_PREFIX=/usr .. && |
pankso@10657 | 23 make && make install |
pankso@10657 | 24 } |
pankso@10657 | 25 |
pankso@10657 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10657 | 27 genpkg_rules() |
pankso@10657 | 28 { |
pankso@10657 | 29 mkdir -p $fs/usr/lib |
pankso@10657 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@10657 | 31 } |