wok-current view gettext/receipt @ rev 15770
Up tazinst-gui (3.94)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Jan 07 21:52:00 2014 +0100 (2014-01-07) |
parents | c40da21aa3a1 |
children | 7c891860d341 |
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 ncurses"
17 BUILD_DEPENDS="acl attr-dev glib-dev libxml2-dev ncurses-dev"
19 # Handle cross compilation. Glibc-locale are installed in cross chroot.
20 case "$ARCH" in
21 arm) BUILD_DEPENDS="ncurses-dev libxml2-tools libxml2-dev" ;;
22 esac
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 ./configure $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib $fs/usr
38 cp -a $install/usr/include $fs/usr
39 cp -a $install/usr/share/aclocal $fs/usr/share
40 cp -a $install/usr/share/gettext $fs/usr/share
41 # Remove gettext-base files.
42 rm $fs/usr/bin/gettext
43 rm $fs/usr/bin/gettext.sh
44 rm $fs/usr/bin/envsubst
45 rm $fs/usr/bin/ngettext
46 }