wok-next view lxqt-powermanagement/receipt @ rev 19595
Up linux (4.9.4)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jan 21 17:27:31 2017 +0200 (2017-01-21) |
parents | bdcd8803b305 |
children | e6d548803bb4 |
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 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i 's|qt4/QtCore|QtCore|' $src/src/lid.cpp $src/src/lidwatcher.cpp
24 mkdir build; cd build
25 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
26 make &&
27 make DESTDIR=$install install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/* $fs
34 }