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