wok view qtpanel/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents 63cdeb5a1e77
children 77ec99338524
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 # What is the latest version available today?
17 current_version()
18 {
19 wget --no-check-certificate -O - 'https://gitorious.org/qtpanel/qtpanel?p=qtpanel:qtpanel.git;a=shortlog' 2>/dev/null | \
20 sed '/td title/!d;s|.*<i>||;s|<.*||;s|-||g;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 patch -i $stuff/p.diff --merge #sed -i 's|ddd ddMMM hh:mm||' clockapplet.cpp
27 mkdir b; cd b
28 cmake -DCMAKE_BUILD_TYPE=MinSizeRel ..; make
29 mkdir -p $install/usr/bin
30 install $src/b/$PACKAGE $install/usr/bin
31 rm -rf $src/b
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/* $fs
39 mkdir -p $fs/etc/xdg
40 cp -a $stuff/autostart $fs/etc/xdg
41 }