wok-next view libdbusmenu-qt/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | c0521c689857 |
children | d5aab818505e |
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="pankso@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="libdbusmenu-qt-dev"
18 compile_rules() {
19 sed -i 's|com\.trolltech|org.qtproject|' src/com.canonical.dbusmenu.xml
21 mkdir build; cd build
22 cmake \
23 -DCMAKE_BUILD_TYPE=Release \
24 -DCMAKE_INSTALL_PREFIX=/usr \
25 -DWITH_DOC=OFF \
26 -Wno-dev \
27 .. &&
28 make &&
29 make install
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 libdbusmenu-qt)
35 copy @std
36 DEPENDS="qt5-base"
37 ;;
38 *-dev)
39 copy @dev
40 ;;
41 esac
42 }