wok-next view locale-hu/receipt @ rev 6928

Up: elfutils to 0.149. Fixed it to build in clean chroot. Fixed it also to download sources with real wget by since sources are on https host. So now elfutils can download its sources just fine.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Oct 22 22:36:22 2010 +0000 (2010-10-22)
parents b584b0d0bbb4
children d1768332cee0
line source
1 # SliTaz package receipt
3 PACKAGE="locale-hu"
4 VERSION="2.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Hungry locale pack."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="glibc-base"
9 BUILD_DEPENDS="glibc glibc-locale slitaz-i18n"
10 WEB_SITE="http://www.slitaz.org/"
12 LOCALE="hu"
13 LOCALEDEF="hu_HU"
14 CHARMAP="UTF-8"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 . $WOK/slitaz-i18n/stuff/locale-pack.conf
20 # Ensure packages are built.
21 for pkg in $CORE_PKGS
22 do
23 [ -d $WOK/$pkg/taz ] || tazwok cook $pkg
24 done
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 . $WOK/slitaz-i18n/stuff/locale-pack.functions
31 . $WOK/slitaz-i18n/stuff/locale-pack.conf
32 PKG_NAME="$PACKAGE"
33 PKG_VERS="$VERSION"
34 mk_locale_dir
35 get_slitaz_messages
36 get_core_messages
37 PACKAGE="$PKG_NAME"
38 VERSION="$PKG_VERS"
39 }
41 # Back to C if it's the last used locale.
42 post_remove()
43 {
44 if grep -q $LOCALEDEF /etc/locale.conf; then
45 echo "LANG=C" > /etc/locale.conf
46 echo "LC_ALL=C" >> /etc/locale.conf
47 fi
48 }