wok annotate libQtGui/receipt @ rev 19786

binutils: depends on flex (ar, ranlib)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 22 15:22:41 2017 +0200 (2017-02-22)
parents 486dbfc17892
children cb67b4f8be05
rev   line source
allan316@1360 1 # SliTaz package receipt.
allan316@1360 2
allan316@1360 3 PACKAGE="libQtGui"
psychomaniak@19568 4 VERSION="4.8.7"
allan316@1360 5 CATEGORY="development"
allan316@1360 6 SHORT_DESC="Qt Gui Library"
allan316@1360 7 MAINTAINER="allan316@gmail.com"
pascal@15215 8 LICENSE="GPL3 LGPL2.1"
pascal@15215 9 WANTED="qt4"
pascal@15215 10
pascal@2479 11 DEPENDS="libQtCore expat fontconfig freetype xorg-libICE xorg-libSM \
pascal@2479 12 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXi xorg-libXrandr \
psychomaniak@17126 13 xorg-libXrender libpng"
monghitri@13992 14 WEB_SITE="http://qt-project.org/"
allan316@1360 15
allan316@1360 16 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@1360 17 genpkg_rules()
allan316@1360 18 {
allan316@1360 19 mkdir -p $fs/usr/lib
pascal@15215 20 cp -a $install/usr/lib/libQtGui.so* $fs/usr/lib
psychomaniak@16917 21
psychomaniak@16917 22 mkdir -p $fs/usr/lib/qt/plugins/imageformats
psychomaniak@17127 23 cp -a $install/usr/lib/qt/plugins/imageformats/libqjpeg.so $fs/usr/lib/qt/plugins/imageformats
psychomaniak@17127 24 cp -a $install/usr/lib/qt/plugins/imageformats/libqgif.so $fs/usr/lib/qt/plugins/imageformats
psychomaniak@17127 25
psychomaniak@19568 26 mkdir -p $fs/etc/skel/.config $fs/etc/xdg
psychomaniak@19568 27 cp $stuff/Trolltech.conf $fs/etc/skel/.config/
psychomaniak@19568 28 cp $stuff/Trolltech.conf $fs/etc/xdg/
allan316@1360 29 }
allan316@1360 30
psychomaniak@17127 31 post_install()
psychomaniak@17127 32 {
pascal@18730 33 for i in $(ls "$1/home" 2> /dev/null); do
pascal@18816 34 [ -f "$1/home/$i/.config/Trolltech.conf" ] && continue
pascal@18730 35 cp "$1/etc/skel/.config/Trolltech.conf" "$1/home/$i/.config"
psychomaniak@19568 36 [ -d $PKGS_DB/gtk+ ] && sed 's|Cleanlooks|gtk|' -i "$1/home/$i/.config/Trolltech.conf"
pascal@18730 37 chroot "$1/" chown -R $(stat -c "%u.%g" "$1/home/$i") "/home/$i/.config"
psychomaniak@17127 38 done
psychomaniak@17127 39 }