wok view dpkg-lang/receipt @ rev 23966
updated dpkg (1.16.12 -> 1.17.27) see bug report 248
author | Hans-G?nter Theisgen |
---|---|
date | Sun Oct 04 06:59:31 2020 +0100 (2020-10-04) |
parents | |
children | 235803441e80 |
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 }