wok diff libdbusmenu-qt/receipt @ rev 10657
Add libdbusmenu-qt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 27 06:27:01 2011 +0200 (2011-05-27) |
parents | |
children | ca30f29e8297 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libdbusmenu-qt/receipt Fri May 27 06:27:01 2011 +0200 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libdbusmenu-qt" 1.7 +VERSION="0.8.0" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Library to import and export QMenu instances using the DBusMenu." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.12 +WEB_SITE="https://launchpad.net/libdbusmenu-qt" 1.13 +WGET_URL="http://launchpad.net/libdbusmenu-qt/trunk/$VERSION/+download/$TARBALL" 1.14 + 1.15 +DEPENDS="dbus" 1.16 +BUILD_DEPENDS="cmake qmake Qt4-dev dbus-dev" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + mkdir -p $src/build 1.22 + cd $src/build 1.23 + cmake \ 1.24 + -DCMAKE_BUILD_TYPE=Release \ 1.25 + -DCMAKE_INSTALL_PREFIX=/usr .. && 1.26 + make && make install 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr/lib 1.33 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.34 +}