wok-current diff lxqt-powermanagement/receipt @ rev 17027
linux64: new module path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 16 14:43:53 2014 +0200 (2014-08-16) |
parents | |
children | bdcd8803b305 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/lxqt-powermanagement/receipt Sat Aug 16 14:43:53 2014 +0200 1.3 @@ -0,0 +1,34 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="lxqt-powermanagement" 1.7 +VERSION="0.7.0" 1.8 +CATEGORY="system" 1.9 +SHORT_DESC="Power management module for LXQt" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="LGPL2.1" 1.12 +WEB_SITE="https://github.com/lxde/lxqt-powermanagement" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz" 1.15 +TAGS="LXQt" 1.16 + 1.17 +DEPENDS="libQtCore libQtDBus libQtGui libQtSvg liblxqt libqtxdg libxcb \ 1.18 +xorg-libX11" 1.19 +BUILD_DEPENDS="wget cacerts cmake libqtxdg-dev Qt4-dev qmake liblxqt-dev \ 1.20 +libxcb-dev xorg-libX11-dev" 1.21 + 1.22 +# Rules to configure and make the package. 1.23 +compile_rules() 1.24 +{ 1.25 + sed -i 's|qt4/QtCore|QtCore|' $src/src/lid.cpp $src/src/lidwatcher.cpp 1.26 + 1.27 + mkdir build; cd build 1.28 + cmake -DCMAKE_INSTALL_PREFIX=/usr .. && 1.29 + make && 1.30 + make DESTDIR=$install install 1.31 +} 1.32 + 1.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 +genpkg_rules() 1.35 +{ 1.36 + cp -a $install/* $fs 1.37 +}