wok-current view dpkg-lang/receipt @ rev 25262
updated rclone (1.51.0 -> 1.59.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 08:42:33 2022 +0100 (2022-07-15) |
parents | f50df67fd4a4 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="dpkg-lang"
4 VERSION="1.17.27"
5 CATEGORY="misc"
6 SHORT_DESC="Debian package management system - message files."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://wiki.debian.org/dpkg"
11 WANTED="dpkg"
13 HOST_ARCH="any"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p $fs/usr/share/locale
20 # Copy all message files
21 for mf in $install/usr/share/locale/*/LC_MESSAGES/dpkg.mo
22 do
23 lang=${mf/\/LC_MESSAGES\/dpkg.mo/} # remove suffix
24 lang=${lang##*/} # remove prefix
25 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
26 cp -a $mf $fs/usr/share/locale/$lang/LC_MESSAGES
27 done
28 for mf in $install/usr/share/locale/*/LC_MESSAGES/dselect.mo
29 do
30 lang=${mf/\/LC_MESSAGES\/dselect.mo/} # remove suffix
31 lang=${lang##*/} # remove prefix
32 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
33 cp -a $mf $fs/usr/share/locale/$lang/LC_MESSAGES
34 done
35 }