wok-current annotate lxqt-powermanagement/receipt @ rev 24057

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