wok-current view qt4-examples/receipt @ rev 20279

8086tiny: fix DAA/DAS/shift opcodes
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 23 13:08:29 2018 +0100 (2018-03-23)
parents 3ba86ab5ebce
children 826c1bab582b
line source
1 # SliTaz package receipt.
3 PACKAGE="qt4-examples"
4 VERSION="4.8.7"
5 CATEGORY="misc"
6 SHORT_DESC="Screenshot, FindFiles, CharacterMap"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL3 LGPL2.1"
9 WEB_SITE="http://qt-project.org/"
10 TAGS="qt"
12 DEPENDS="libQtCore libQtGui"
13 BUILD_DEPENDS="Qt4-dev qmake"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 mkdir -p $install/usr/bin $install/usr/share/applications
20 for i in desktop/screenshot dialogs/findfiles widgets/charactermap;
21 do
22 ii=$(basename $i) && cd $WOK/qt4/source/qt4-$VERSION/examples/$i
23 rm -rf Makefile moc* *.o
24 qmake $ii.pro
25 sed 's|-O2|'"$CFLAGS"'|' -i Makefile
26 make $MAKEFLAGS &&
27 install $ii $DESTDIR/usr/bin
28 install $ii.desktop $DESTDIR/usr/share/applications
29 find $install -name $ii.desktop \
30 -exec echo 'Categories=Utility;'>>$install/usr/share/applications/$ii.desktop \; \
31 -exec sed 's|/opt/|/|g' -i {} \;
32 done
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/* $fs
39 }