wok-6.x view libdbusmenu-qt/receipt @ rev 19435

zerobin: add download button
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 04 15:33:49 2016 +0200 (2016-10-04)
parents a00bf44ed23d
children ad8b9ff412d2
line source
1 # SliTaz package receipt.
3 PACKAGE="libdbusmenu-qt"
4 VERSION="0.9.2"
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 -DWITH_DOC=OFF .. &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 }