wok-current view qtpanel/receipt @ rev 25516

memtest64: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 19 11:36:17 2023 +0000 (22 months ago)
parents b9659e3c2111
children
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="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL"
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 }