wok-current diff libdbusmenu-qt/receipt @ rev 13932
qt4: configure detection should not break build (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 26 12:16:45 2013 +0100 (2013-01-26) |
parents | |
children | ca30f29e8297 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libdbusmenu-qt/receipt Sat Jan 26 12:16:45 2013 +0100 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 +}