wok view dpkg-lang/receipt @ rev 25341

amule: update to new libupnp API
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 24 16:17:15 2022 +0000 (2022-07-24)
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 }