wok annotate lxqt-powermanagement/receipt @ rev 18757
syslinux: compress c32 modules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 29 08:59:31 2015 +0100 (2015-12-29) |
parents | bdcd8803b305 |
children | 5ea0ce1cecc0 |
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 |
al@16833 | 19 # Rules to configure and make the package. |
al@16833 | 20 compile_rules() |
al@16833 | 21 { |
al@16833 | 22 sed -i 's|qt4/QtCore|QtCore|' $src/src/lid.cpp $src/src/lidwatcher.cpp |
al@16833 | 23 |
al@16833 | 24 mkdir build; cd build |
al@16833 | 25 cmake -DCMAKE_INSTALL_PREFIX=/usr .. && |
al@16833 | 26 make && |
al@16833 | 27 make DESTDIR=$install install |
al@16833 | 28 } |
al@16833 | 29 |
al@16833 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16833 | 31 genpkg_rules() |
al@16833 | 32 { |
al@16833 | 33 cp -a $install/* $fs |
al@16833 | 34 } |