wok-next view kguiaddons/receipt @ rev 20413

linux: add /proc/config.gz, /sbin/tazhw needs it
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 07 17:52:41 2018 +0100 (2018-01-07)
parents
children c0521c689857
line source
1 # SliTaz package receipt v2.
3 PACKAGE="kguiaddons"
4 VERSION="5.37.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="KGuiAddons - utilities for graphical user interfaces"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/KDE/kguiaddons"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/lxqt/lxqt-kguiaddons.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="http://download.kde.org/stable/frameworks/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="cmake extra-cmake-modules qt5-dev mesa17-dev"
16 SPLIT="kguiaddons-dev"
18 compile_rules() {
19 mkdir build; cd build
20 cmake \
21 -DCMAKE_BUILD_TYPE=Release \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DBUILD_TESTING=OFF \
24 -Wno-dev \
25 .. &&
26 make &&
27 make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 kguiaddons)
33 copy @std
34 DEPENDS="qt5-base qt5-x11extras xorg-libX11 xorg-libXext \
35 xorg-libxcb"
36 ;;
37 *-dev)
38 copy @dev
39 ;;
40 esac
41 }