wok-6.x view gettext/receipt @ rev 23874

squidclamav: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 25 19:42:45 2020 +0000 (2020-06-25)
parents 17abf532f3a7
children 71360a13cd94
line source
1 # SliTaz package receipt.
3 PACKAGE="gettext"
4 VERSION="0.19.8.1"
5 CATEGORY="development"
6 SHORT_DESC="Utilities for the GNU Translation Project."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnu.org/software/gettext/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="acl-dev attr-dev gettext-base gettext-tools glib-dev libcroco
15 libcroco-dev liblzma libxml2 libxml2-dev m4 ncurses pcre-dev"
16 BUILD_DEPENDS="acl-dev glib-dev libcroco-dev libxml2-dev"
17 SPLIT="gettext-base gettext-tools"
19 HOST_ARCH="i486 arm"
21 # Handle cross compilation. Glibc-locale are installed in cross chroot.
22 case "$ARCH" in
23 arm) BUILD_DEPENDS="attr-dev ncurses-dev libxml2-tools libxml2-dev"
24 ARCH_ARGS="--disable-acl" ;;
25 esac
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 $CONFIGURE_ARGS \
32 $ARCH_ARGS &&
33 make &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib $fs/usr
44 cp -a $install/usr/include $fs/usr
45 cp -a $install/usr/share/aclocal $fs/usr/share
46 cp -a $install/usr/share/gettext $fs/usr/share
47 cp -a $install/usr/share/gettext-0.19.8 $fs/usr/share
49 # Remove "gettext-base" and "gettext-tools" files.
50 for bin in gettext gettext.sh envsubst ngettext msgcat msgfmt msgmerge xgettext
51 do
52 rm $fs/usr/bin/$bin
53 done
54 rm $fs/usr/lib/libgettextlib*.so*
55 rm $fs/usr/lib/libgettextsrc*.so*
56 }