wok-6.x rev 23826
created recipe for minicom-lang
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 29 07:57:27 2020 +0100 (2020-05-29) |
parents | fb31b4bd68b8 |
children | 55afdfc78622 |
files | minicom-lang/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/minicom-lang/receipt Fri May 29 07:57:27 2020 +0100 1.3 @@ -0,0 +1,29 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="minicom-lang" 1.7 +VERSION="2.7.1" 1.8 +CATEGORY="development" 1.9 +TAGS="modem serial" 1.10 +SHORT_DESC="Menu driven communications program - localised messages." 1.11 +MAINTAINER="maintainer@slitaz.org" 1.12 +LICENSE="GPL2" 1.13 +WEB_SITE="https://salsa.debian.org/minicom-team/minicom" 1.14 + 1.15 +WANTED="minicom" 1.16 + 1.17 +HOST_ARCH="any" 1.18 + 1.19 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.20 +genpkg_rules() 1.21 +{ 1.22 + mkdir -p $fs/usr/share/locale 1.23 + 1.24 + # Copy all message files 1.25 + for mf in $install/usr/share/locale/*/LC_MESSAGES/minicom.mo 1.26 + do 1.27 + lang=${mf/\/LC_MESSAGES\/minicom.mo/} # remove suffix 1.28 + lang=${lang##*/} # remove prefix 1.29 + mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES 1.30 + cp -a $mf $fs/usr/share/locale/$lang/LC_MESSAGES 1.31 + done 1.32 +}