wok-undigest rev 1032
cplay: add locales and examples
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Tue Aug 06 19:56:38 2013 +0100 (2013-08-06) |
parents | a9b3597bcd2f |
children | bc80e1dcd138 |
files | cplay/receipt |
line diff
1.1 --- a/cplay/receipt Thu Aug 01 11:52:23 2013 +0000 1.2 +++ b/cplay/receipt Tue Aug 06 19:56:38 2013 +0100 1.3 @@ -5,7 +5,6 @@ 1.4 CATEGORY="multimedia" 1.5 SHORT_DESC="Cplay is an ncurses front-end for various audio players." 1.6 MAINTAINER="paul@slitaz.org" 1.7 -LICENSE="GPL2" 1.8 DEPENDS="python ncurses linux-sound" 1.9 BUILD_DEPENDS="python-dev ncurses-dev git bzip2 gettext" 1.10 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.11 @@ -23,9 +22,17 @@ 1.12 # Rules to gen a SliTaz package suitable for Tazpkg. 1.13 genpkg_rules() 1.14 { 1.15 - mkdir -p $fs/usr/bin $fs/etc 1.16 + mkdir -p $fs/usr/bin $fs/etc $fs/usr/share/doc/cplay/examples 1.17 cp -a $src/cplay $fs/usr/bin 1.18 cp -a $src/cplayrc $fs/etc 1.19 + # Copy locale cplay.mo files 1.20 + for lang in da de hu pl; do 1.21 + mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES 1.22 + cp -a $src/po/$lang.mo \ 1.23 + $fs/usr/share/locale/$lang/LC_MESSAGES/cplay.mo 1.24 + done 1.25 + # Copy remote control files 1.26 + cp -a $src/lircrc $fs/usr/share/doc/cplay/examples 1.27 } 1.28 1.29 post_install()