wok-current view gettext/receipt @ rev 20061
openssh, dropbear: may filter brute force attacks
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 17 11:42:45 2017 +0200 (2017-09-17) |
parents | de851b76d3c8 |
children | 213fbb313815 |
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/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 # Runtime depends, then dev-depends
16 DEPENDS="gettext-base gettext-tools libcroco liblzma libxml2 \
17 acl-dev attr-dev libcroco-dev libxml2-dev glib-dev pcre-dev m4"
18 BUILD_DEPENDS="libcroco-dev libxml2-dev glib-dev acl-dev"
19 SPLIT="gettext-base gettext-tools"
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 $CONFIGURE_ARGS $ARCH_ARGS &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib $fs/usr
40 cp -a $install/usr/include $fs/usr
41 cp -a $install/usr/share/aclocal $fs/usr/share
42 cp -a $install/usr/share/gettext $fs/usr/share
44 # Remove "gettext-base" and "gettext-tools" files.
45 for bin in gettext gettext.sh envsubst ngettext msgcat msgfmt msgmerge xgettext; do
46 rm $fs/usr/bin/$bin
47 done
48 rm $fs/usr/lib/libgettextlib*.so*
49 rm $fs/usr/lib/libgettextsrc*.so*
50 }