wok-current view gettext/receipt @ rev 15285
vice: do not copy font to home
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 26 17:33:53 2013 +0000 (2013-09-26) |
parents | b6587677282b |
children | 9e41e0f90e23 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gettext"
4 VERSION="0.18.3"
5 CATEGORY="development"
6 SHORT_DESC="Utilities for the GNU Translation Project."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/gettext/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 # Why deps on glib-dev ??? And glib build depends on gettext anyway...
15 DEPENDS="gettext-base libgomp acl-dev gcc-lib-base glib-dev libxml2-dev m4"
16 BUILD_DEPENDS="acl attr-dev glib-dev libxml2-dev ncurses-dev"
18 # Handle cross compilation. Glibc-locale are installed in cross chroot.
19 case "$ARCH" in
20 arm) BUILD_DEPENDS="ncurses-dev libxml2-tools libxml2-dev" ;;
21 esac
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib $fs/usr
37 cp -a $install/usr/include $fs/usr
38 cp -a $install/usr/share/aclocal $fs/usr/share
39 cp -a $install/usr/share/gettext $fs/usr/share
40 # Remove gettext-base files.
41 rm $fs/usr/bin/gettext
42 rm $fs/usr/bin/gettext.sh
43 rm $fs/usr/bin/envsubst
44 rm $fs/usr/bin/ngettext
45 }