wok-current view qt-locale-da/receipt @ rev 16500
Add: qt-locale-* - translations and phrasebooks for Qt4 system
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Apr 23 21:45:30 2014 +0300 (2014-04-23) |
parents | |
children | 28d590d94cce |
line source
1 # SliTaz package receipt.
3 PACKAGE="qt-locale-da"
4 VERSION="4.8.4"
5 CATEGORY="misc"
6 SHORT_DESC="Danish locale for Qt"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3 LGPL2.1 FDL other"
9 WEB_SITE="http://qt-project.org/"
10 WANTED="qt4"
12 LOCALE="da"
13 BOOK="danish"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 usqt=/usr/share/qt/translations
19 mkdir -p $fs$usqt
21 for qm in $(find $install$usqt -name "*_$LOCALE.qm"); do
22 cp -a $install$usqt/${qm##*/} $fs$usqt
23 done
25 if [ x$BOOK != x ]; then
26 usqp=/usr/share/qt/phrasebooks
27 mkdir -p $fs$usqp
28 cp -a $install$usqp/$BOOK.qph $fs$usqp
29 fi
30 }