wok view lxqt-powermanagement/receipt @ rev 25051
Up terminology (0.7.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 05 10:44:35 2022 +0000 (2022-06-05) |
parents | c0ce132ba4ee |
children | 7364ffdaaa60 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lxqt-powermanagement"
4 VERSION="0.8.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Power management module for LXQt"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/lxde/lxqt-powermanagement"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz"
12 TAGS="LXQt"
14 DEPENDS="libQtCore libQtDBus libQtGui libQtSvg liblxqt libqtxdg libxcb \
15 xorg-libX11"
16 BUILD_DEPENDS="wget cacerts cmake libqtxdg-dev Qt4-dev qmake liblxqt-dev \
17 libxcb-dev xorg-libX11-dev"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i 's|qt4/QtCore|QtCore|' $src/src/lid.cpp $src/src/lidwatcher.cpp
30 mkdir build; cd build
31 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
32 make &&
33 make DESTDIR=$install install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/* $fs
40 }