wok annotate qtpanel/receipt @ rev 18524

expat-dev: add pkgconfig stuff
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Oct 26 15:50:10 2015 +0200 (2015-10-26)
parents
children 63cdeb5a1e77
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 }