wok view lxqt-common/receipt @ rev 17038

linux: enable rtcwake
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 18 23:02:42 2014 +0200 (2014-08-18)
parents
children bdcd8803b305
line source
1 # SliTaz package receipt.
3 PACKAGE="lxqt-common"
4 VERSION="0.7.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Common files for LXQt"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/lxde/lxqt-common"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz"
12 TAGS="LXQt"
14 # TODO: add more depends
15 DEPENDS="xorg-xprop dbus "
16 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake liblxqt-dev grep"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir build; cd build
22 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
23 make &&
24 make DESTDIR=$install install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/etc $fs
32 cd $fs; patch -p0 < $stuff/settings.diff
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/share $fs/usr
35 # all themes but 'flat' go to 'lxqt-themes'
36 rm -rf $fs/usr/share/lxqt/themes/*
37 cp -a $install/usr/share/lxqt/themes/flat $fs/usr/share/lxqt/themes
38 }