wok annotate qtpanel/receipt @ rev 24766
Try fuse2 (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 18 18:06:12 2022 +0000 (2022-03-18) |
parents | 63cdeb5a1e77 |
children | 77ec99338524 |
rev | line source |
---|---|
psychomaniak@17164 | 1 # SliTaz package receipt. |
psychomaniak@17164 | 2 |
psychomaniak@17164 | 3 PACKAGE="qtpanel" |
psychomaniak@17164 | 4 VERSION="548e4d3" |
psychomaniak@17164 | 5 CATEGORY="x-window" |
psychomaniak@17164 | 6 SHORT_DESC="Patched: size, scroll wheel min/max taskbar items. virt.desktops NOT supported" |
psychomaniak@17164 | 7 LICENSE="GPL" |
pascal@20947 | 8 WEB_SITE="https://web.archive.org/web/20121024232140/https://gitorious.org/qtpanel/qtpanel" |
psychomaniak@17164 | 9 MAINTAINER="psychomaniak@xakep.ru" |
psychomaniak@17164 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
psychomaniak@17164 | 11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
psychomaniak@17164 | 12 |
psychomaniak@17164 | 13 DEPENDS="libQtGui xorg-libXdamage xorg-libXcomposite" |
psychomaniak@17164 | 14 BUILD_DEPENDS="wget cacerts Qt4-dev qmake cmake" |
psychomaniak@17164 | 15 |
pascal@24545 | 16 # What is the latest version available today? |
pascal@24545 | 17 current_version() |
pascal@24545 | 18 { |
pascal@24545 | 19 wget --no-check-certificate -O - 'https://gitorious.org/qtpanel/qtpanel?p=qtpanel:qtpanel.git;a=shortlog' 2>/dev/null | \ |
pascal@24545 | 20 sed '/td title/!d;s|.*<i>||;s|<.*||;s|-||g;q' |
pascal@24545 | 21 } |
pascal@24545 | 22 |
psychomaniak@17164 | 23 # Rules to configure and make the package. |
psychomaniak@17164 | 24 compile_rules() |
psychomaniak@17164 | 25 { |
psychomaniak@17164 | 26 patch -i $stuff/p.diff --merge #sed -i 's|ddd ddMMM hh:mm||' clockapplet.cpp |
psychomaniak@17164 | 27 mkdir b; cd b |
psychomaniak@17164 | 28 cmake -DCMAKE_BUILD_TYPE=MinSizeRel ..; make |
psychomaniak@17164 | 29 mkdir -p $install/usr/bin |
psychomaniak@17164 | 30 install $src/b/$PACKAGE $install/usr/bin |
psychomaniak@17164 | 31 rm -rf $src/b |
psychomaniak@17164 | 32 } |
psychomaniak@17164 | 33 |
psychomaniak@17164 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@17164 | 35 |
psychomaniak@17164 | 36 genpkg_rules() |
psychomaniak@17164 | 37 { |
psychomaniak@17164 | 38 cp -a $install/* $fs |
psychomaniak@17164 | 39 mkdir -p $fs/etc/xdg |
psychomaniak@17164 | 40 cp -a $stuff/autostart $fs/etc/xdg |
psychomaniak@17164 | 41 } |