wok annotate QtDesigner/receipt @ rev 7482

modify .desktop of 3 file
author fireflyoo <lufeng369@gmail.com>
date Fri Dec 03 00:24:35 2010 +0800 (2010-12-03)
parents 99e3675b8ff1
children 20c7c65ea549
rev   line source
allan316@1366 1 # SliTaz package receipt.
allan316@1366 2
allan316@1366 3 PACKAGE="QtDesigner"
slaxemulator@7209 4 VERSION="4.7.1"
allan316@1366 5 CATEGORY="development"
allan316@1366 6 SHORT_DESC="Qt Designer"
allan316@1366 7 MAINTAINER="allan316@gmail.com"
jozee@5369 8 DEPENDS="libQtCore libQtGui libQtNetwork libQtSvg libQtXml libQtDesigner libQtScript \
pascal@2421 9 expat fontconfig freetype glib xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
pascal@2511 10 xorg-libXdmcp xorg-libXext xorg-libXi xorg-libXrandr xorg-libXrender zlib \
pascal@4997 11 libpng gcc-lib-base"
allan316@1366 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@5353 13 WEB_SITE="http://qt.nokia.com/"
jozee@5369 14 WANTED="qt4"
jozee@5369 15 SOURCE="qt-everywhere-opensource-src"
jozee@4971 16 TAGS="qt"
allan316@1366 17
allan316@1366 18 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@1366 19 genpkg_rules()
allan316@1366 20 {
jozee@5369 21 mkdir -p $fs/usr/bin \
jozee@5369 22 $fs/usr/share/pixmaps \
jozee@5369 23 $fs/usr/share/applications
jozee@5369 24 src="$WOK/$WANTED/$SOURCE-$VERSION"
jozee@5369 25 _pkg="$src/_pkg"
allan316@1366 26 cp -a $_pkg/usr/bin/designer* $fs/usr/bin
jozee@5369 27 cp -a $_pkg/usr/bin/linguist* $fs/usr/bin
jozee@5369 28 cp -a $_pkg/usr/bin/assistant* $fs/usr/bin
jozee@5369 29
jozee@5369 30 # add missing icons
jozee@5369 31 cp -a $src/tools/assistant/tools/assistant/images/assistant.png $fs/usr/share/pixmaps
jozee@5369 32 cp -a $src/tools/designer/src/designer/images/designer.png $fs/usr/share/pixmaps
jozee@5369 33 cp -a $src/tools/linguist/linguist/images/icons/linguist-16-32.png $fs/usr/share/pixmaps
jozee@5369 34
jozee@5369 35 # add .desktop files
jozee@5369 36 cp -a stuff/* $fs/usr/share/applications
allan316@1366 37 }
allan316@1366 38