wok-current annotate 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
rev   line source
Hans-G?nter@23966 1 # SliTaz package receipt.
Hans-G?nter@23966 2
Hans-G?nter@23966 3 PACKAGE="dpkg-lang"
Hans-G?nter@23966 4 VERSION="1.17.27"
Hans-G?nter@23966 5 CATEGORY="misc"
Hans-G?nter@23966 6 SHORT_DESC="Debian package management system - message files."
Hans-G?nter@23966 7 MAINTAINER="maintainer@slitaz.org"
Hans-G?nter@23966 8 LICENSE="GPL2"
Hans-G?nter@23966 9 WEB_SITE="https://wiki.debian.org/dpkg"
Hans-G?nter@23966 10
Hans-G?nter@23966 11 WANTED="dpkg"
Hans-G?nter@23966 12
Hans-G?nter@23966 13 HOST_ARCH="any"
Hans-G?nter@23966 14
Hans-G?nter@23966 15 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@23966 16 genpkg_rules()
Hans-G?nter@23966 17 {
Hans-G?nter@23966 18 mkdir -p $fs/usr/share/locale
Hans-G?nter@23966 19
Hans-G?nter@23966 20 # Copy all message files
Hans-G?nter@23966 21 for mf in $install/usr/share/locale/*/LC_MESSAGES/dpkg.mo
Hans-G?nter@23966 22 do
Hans-G?nter@23966 23 lang=${mf/\/LC_MESSAGES\/dpkg.mo/} # remove suffix
Hans-G?nter@23966 24 lang=${lang##*/} # remove prefix
Hans-G?nter@23966 25 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
Hans-G?nter@23966 26 cp -a $mf $fs/usr/share/locale/$lang/LC_MESSAGES
Hans-G?nter@23966 27 done
Hans-G?nter@23966 28 for mf in $install/usr/share/locale/*/LC_MESSAGES/dselect.mo
Hans-G?nter@23966 29 do
Hans-G?nter@23966 30 lang=${mf/\/LC_MESSAGES\/dselect.mo/} # remove suffix
Hans-G?nter@23966 31 lang=${lang##*/} # remove prefix
Hans-G?nter@23966 32 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
Hans-G?nter@23966 33 cp -a $mf $fs/usr/share/locale/$lang/LC_MESSAGES
Hans-G?nter@23966 34 done
Hans-G?nter@23966 35 }