wok-next diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/kguiaddons/receipt	Sun Jan 07 17:52:41 2018 +0100
     1.3 @@ -0,0 +1,41 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="kguiaddons"
     1.7 +VERSION="5.37.0"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="KGuiAddons - utilities for graphical user interfaces"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="LGPL2.1"
    1.12 +WEB_SITE="https://github.com/KDE/kguiaddons"
    1.13 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/lxqt/lxqt-kguiaddons.html"
    1.14 +
    1.15 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.16 +WGET_URL="http://download.kde.org/stable/frameworks/${VERSION%.*}/$TARBALL"
    1.17 +
    1.18 +BUILD_DEPENDS="cmake extra-cmake-modules qt5-dev mesa17-dev"
    1.19 +SPLIT="kguiaddons-dev"
    1.20 +
    1.21 +compile_rules() {
    1.22 +	mkdir build; cd build
    1.23 +	cmake \
    1.24 +		-DCMAKE_BUILD_TYPE=Release \
    1.25 +		-DCMAKE_INSTALL_PREFIX=/usr \
    1.26 +		-DBUILD_TESTING=OFF \
    1.27 +		-Wno-dev \
    1.28 +		.. &&
    1.29 +	make &&
    1.30 +	make install
    1.31 +}
    1.32 +
    1.33 +genpkg_rules() {
    1.34 +	case $PACKAGE in
    1.35 +		kguiaddons)
    1.36 +			copy @std
    1.37 +			DEPENDS="qt5-base qt5-x11extras xorg-libX11 xorg-libXext \
    1.38 +			xorg-libxcb"
    1.39 +			;;
    1.40 +		*-dev)
    1.41 +			copy @dev
    1.42 +			;;
    1.43 +	esac
    1.44 +}