wok view minicom-lang/receipt @ rev 25680

updated gnu-efi (3.0.14 -> 3.0.17)
author Hans-G?nter Theisgen
date Mon Mar 18 18:46:02 2024 +0100 (8 months ago)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="minicom-lang"
4 VERSION="2.7.1"
5 CATEGORY="development"
6 TAGS="modem serial"
7 SHORT_DESC="Menu driven communications program - localised messages."
8 MAINTAINER="maintainer@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://salsa.debian.org/minicom-team/minicom"
12 WANTED="minicom"
14 HOST_ARCH="any"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/usr/share/locale
21 # Copy all message files
22 for mf in $install/usr/share/locale/*/LC_MESSAGES/minicom.mo
23 do
24 lang=${mf/\/LC_MESSAGES\/minicom.mo/} # remove suffix
25 lang=${lang##*/} # remove prefix
26 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
27 cp -a $mf $fs/usr/share/locale/$lang/LC_MESSAGES
28 done
29 }