wok-4.x view QtDesigner/receipt @ rev 5544

Up: libarchive (2.8.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 13 13:44:27 2010 +0200 (2010-05-13)
parents 30f0edfdd2e4
children 99e3675b8ff1
line source
1 # SliTaz package receipt.
3 PACKAGE="QtDesigner"
4 VERSION="4.6.2"
5 CATEGORY="development"
6 SHORT_DESC="Qt Designer"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS="libQtCore libQtGui libQtNetwork libQtSvg libQtXml libQtDesigner libQtScript \
9 expat fontconfig freetype glib xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
10 xorg-libXdmcp xorg-libXext xorg-libXi xorg-libXrandr xorg-libXrender zlib \
11 libpng gcc-lib-base"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WEB_SITE="http://qt.nokia.com/"
14 WANTED="qt4"
15 SOURCE="qt-everywhere-opensource-src"
16 TAGS="qt"
18 # Rules to gen a SliTaz package suitable for Tazpkg.
19 genpkg_rules()
20 {
21 mkdir -p $fs/usr/bin \
22 $fs/usr/share/pixmaps \
23 $fs/usr/share/applications
24 src="$WOK/$WANTED/$SOURCE-$VERSION"
25 _pkg="$src/_pkg"
26 cp -a $_pkg/usr/bin/designer* $fs/usr/bin
27 cp -a $_pkg/usr/bin/linguist* $fs/usr/bin
28 cp -a $_pkg/usr/bin/assistant* $fs/usr/bin
30 # add missing icons
31 cp -a $src/tools/assistant/tools/assistant/images/assistant.png $fs/usr/share/pixmaps
32 cp -a $src/tools/designer/src/designer/images/designer.png $fs/usr/share/pixmaps
33 cp -a $src/tools/linguist/linguist/images/icons/linguist-16-32.png $fs/usr/share/pixmaps
35 # add .desktop files
36 cp -a stuff/* $fs/usr/share/applications
37 }