wok-next annotate qtpanel/receipt @ rev 17706

Up marlin: edit last patch (again)
author Yuri Pourre <yuripourre@gmail.com>
date Mon Mar 02 11:26:30 2015 -0300 (2015-03-02)
parents
children 27bae9732b8d
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"
psychomaniak@17164 8 WEB_SITE="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
psychomaniak@17164 16 # Rules to configure and make the package.
psychomaniak@17164 17 compile_rules()
psychomaniak@17164 18 {
psychomaniak@17164 19 patch -i $stuff/p.diff --merge #sed -i 's|ddd ddMMM hh:mm||' clockapplet.cpp
psychomaniak@17164 20 mkdir b; cd b
psychomaniak@17164 21 cmake -DCMAKE_BUILD_TYPE=MinSizeRel ..; make
psychomaniak@17164 22 mkdir -p $install/usr/bin
psychomaniak@17164 23 install $src/b/$PACKAGE $install/usr/bin
psychomaniak@17164 24 rm -rf $src/b
psychomaniak@17164 25 }
psychomaniak@17164 26
psychomaniak@17164 27 # Rules to gen a SliTaz package suitable for Tazpkg.
psychomaniak@17164 28
psychomaniak@17164 29 genpkg_rules()
psychomaniak@17164 30 {
psychomaniak@17164 31 cp -a $install/* $fs
psychomaniak@17164 32 mkdir -p $fs/etc/xdg
psychomaniak@17164 33 cp -a $stuff/autostart $fs/etc/xdg
psychomaniak@17164 34 }