wok annotate 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
rev   line source
al@16833 1 # SliTaz package receipt.
al@16833 2
al@16833 3 PACKAGE="lxqt-common"
al@16833 4 VERSION="0.7.0"
al@16833 5 CATEGORY="system-tools"
al@16833 6 SHORT_DESC="Common files for LXQt"
al@16833 7 MAINTAINER="al.bobylev@gmail.com"
al@16833 8 LICENSE="GPL2"
al@16833 9 WEB_SITE="https://github.com/lxde/lxqt-common"
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 # TODO: add more depends
al@16833 15 DEPENDS="xorg-xprop dbus "
al@16833 16 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake liblxqt-dev grep"
al@16833 17
al@16833 18 # Rules to configure and make the package.
al@16833 19 compile_rules()
al@16833 20 {
al@16833 21 mkdir build; cd build
al@16833 22 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
al@16833 23 make &&
al@16833 24 make DESTDIR=$install install
al@16833 25 }
al@16833 26
al@16833 27 # Rules to gen a SliTaz package suitable for Tazpkg.
al@16833 28 genpkg_rules()
al@16833 29 {
al@16833 30 mkdir -p $fs/usr
al@16833 31 cp -a $install/etc $fs
al@16833 32 cd $fs; patch -p0 < $stuff/settings.diff
al@16833 33 cp -a $install/usr/bin $fs/usr
al@16833 34 cp -a $install/usr/share $fs/usr
al@16833 35 # all themes but 'flat' go to 'lxqt-themes'
al@16833 36 rm -rf $fs/usr/share/lxqt/themes/*
al@16833 37 cp -a $install/usr/share/lxqt/themes/flat $fs/usr/share/lxqt/themes
al@16833 38 }