wok view qtpanel/receipt @ rev 21874

facter: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 28 11:31:06 2019 +0200 (2019-09-28)
parents 07f3c83feeae
children b9659e3c2111
line source
1 # SliTaz package receipt.
3 PACKAGE="qtpanel"
4 VERSION="548e4d3"
5 CATEGORY="x-window"
6 SHORT_DESC="Patched: size, scroll wheel min/max taskbar items. virt.desktops NOT supported"
7 LICENSE="GPL"
8 WEB_SITE="https://web.archive.org/web/20121024232140/https://gitorious.org/qtpanel/qtpanel"
9 MAINTAINER="psychomaniak@xakep.ru"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
13 DEPENDS="libQtGui xorg-libXdamage xorg-libXcomposite"
14 BUILD_DEPENDS="wget cacerts Qt4-dev qmake cmake"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 patch -i $stuff/p.diff --merge #sed -i 's|ddd ddMMM hh:mm||' clockapplet.cpp
20 mkdir b; cd b
21 cmake -DCMAKE_BUILD_TYPE=MinSizeRel ..; make
22 mkdir -p $install/usr/bin
23 install $src/b/$PACKAGE $install/usr/bin
24 rm -rf $src/b
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/* $fs
32 mkdir -p $fs/etc/xdg
33 cp -a $stuff/autostart $fs/etc/xdg
34 }