wok-next view libdbusmenu-qt/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libdbusmenu-qt"
4 VERSION="0.9.3+16.04.20160218"
5 CATEGORY="system-tools"
6 SHORT_DESC="Library to import and export QMenu instances using the DBusMenu"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="https://launchpad.net/libdbusmenu-qt"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/kde/libdbusmenu-qt.html"
12 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
13 WGET_URL="http://launchpad.net/ubuntu/+archive/primary/+files/$TARBALL"
15 BUILD_DEPENDS="cmake qt5-dev mesa-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 sed -i 's|com\.trolltech|org.qtproject|' src/com.canonical.dbusmenu.xml
21 mkdir build
22 cd build
23 cmake \
24 -DCMAKE_BUILD_TYPE=Release \
25 -DCMAKE_INSTALL_PREFIX=/usr \
26 -DWITH_DOC=OFF \
27 -Wno-dev \
28 .. &&
29 make &&
30 make install
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 libdbusmenu-qt)
36 copy @std
37 DEPENDS="qt5-base"
38 ;;
39 *-dev)
40 copy @dev
41 ;;
42 esac
43 }