wok-6.x view libQtGui/receipt @ rev 19214
Up tzdata(2016e)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 14 23:10:20 2016 +0300 (2016-06-14) |
parents | 9e01bc6321ea |
children | 9cb6a23202c2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libQtGui"
4 VERSION="4.8.6"
5 CATEGORY="development"
6 SHORT_DESC="Qt Gui Library"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL3 LGPL2.1"
9 WANTED="qt4"
11 DEPENDS="libQtCore expat fontconfig freetype xorg-libICE xorg-libSM \
12 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXi xorg-libXrandr \
13 xorg-libXrender libpng"
14 WEB_SITE="http://qt-project.org/"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/usr/lib
20 cp -a $install/usr/lib/libQtGui.so* $fs/usr/lib
22 mkdir -p $fs/usr/lib/qt/plugins/imageformats
23 cp -a $install/usr/lib/qt/plugins/imageformats/libqjpeg.so $fs/usr/lib/qt/plugins/imageformats
24 cp -a $install/usr/lib/qt/plugins/imageformats/libqgif.so $fs/usr/lib/qt/plugins/imageformats
26 mkdir -p $fs/etc/skel/.config
27 cp -a $stuff/Trolltech.conf $fs/etc/skel/.config
28 }
30 post_install()
31 {
32 for i in $(ls "$1/home" 2> /dev/null); do
33 [ -f "$1/home/$i/.config/Trolltech.conf" ] && continue
34 cp "$1/etc/skel/.config/Trolltech.conf" "$1/home/$i/.config"
35 chroot "$1/" chown -R $(stat -c "%u.%g" "$1/home/$i") "/home/$i/.config"
36 done
37 }