wok-current annotate minicom-lang/receipt @ rev 24181
updated perl-berkeleydb (0.63 -> 0.64)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 13:39:16 2021 +0100 (2021-12-31) |
parents | |
children |
rev | line source |
---|---|
Hans-G?nter@23826 | 1 # SliTaz package receipt. |
Hans-G?nter@23826 | 2 |
Hans-G?nter@23826 | 3 PACKAGE="minicom-lang" |
Hans-G?nter@23826 | 4 VERSION="2.7.1" |
Hans-G?nter@23826 | 5 CATEGORY="development" |
Hans-G?nter@23826 | 6 TAGS="modem serial" |
Hans-G?nter@23826 | 7 SHORT_DESC="Menu driven communications program - localised messages." |
Hans-G?nter@23826 | 8 MAINTAINER="maintainer@slitaz.org" |
Hans-G?nter@23826 | 9 LICENSE="GPL2" |
Hans-G?nter@23826 | 10 WEB_SITE="https://salsa.debian.org/minicom-team/minicom" |
Hans-G?nter@23826 | 11 |
Hans-G?nter@23826 | 12 WANTED="minicom" |
Hans-G?nter@23826 | 13 |
Hans-G?nter@23826 | 14 HOST_ARCH="any" |
Hans-G?nter@23826 | 15 |
Hans-G?nter@23826 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@23826 | 17 genpkg_rules() |
Hans-G?nter@23826 | 18 { |
Hans-G?nter@23826 | 19 mkdir -p $fs/usr/share/locale |
Hans-G?nter@23826 | 20 |
Hans-G?nter@23826 | 21 # Copy all message files |
Hans-G?nter@23826 | 22 for mf in $install/usr/share/locale/*/LC_MESSAGES/minicom.mo |
Hans-G?nter@23826 | 23 do |
Hans-G?nter@23826 | 24 lang=${mf/\/LC_MESSAGES\/minicom.mo/} # remove suffix |
Hans-G?nter@23826 | 25 lang=${lang##*/} # remove prefix |
Hans-G?nter@23826 | 26 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES |
Hans-G?nter@23826 | 27 cp -a $mf $fs/usr/share/locale/$lang/LC_MESSAGES |
Hans-G?nter@23826 | 28 done |
Hans-G?nter@23826 | 29 } |