wok view gettext/receipt @ rev 14269

ADD: cantarell-fonts, gtk2-engine-murrine (former murrine), libunique-gtk3; TINY EDITS: gobject-introspection, gtk3-engine-solidity, gtk3-engine-unico*, libnotify-gtk3, libxklavier, lxpanel; UP: lightdm* 1.5.3, midori 0.4.9
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 04 15:39:28 2013 +0000 (2013-04-04)
parents fd8053e3df39
children c40da21aa3a1
line source
1 # SliTaz package receipt.
3 PACKAGE="gettext"
4 VERSION="0.18.1.1"
5 CATEGORY="development"
6 SHORT_DESC="Utilities for the GNU Translation Project."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnu.org/software/gettext/"
10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
11 HOST_ARCH="i486 arm"
13 # Why deps on glib-dev ??? And glib build depends on gettext anyway...
14 DEPENDS="gettext-base libgomp ncurses gcc-lib-base glib libxml2"
15 BUILD_DEPENDS="glibc-locale ncurses-dev glib-dev libxml2-tools libxml2-dev"
17 # Handle cross compilation. Glibc-locale are installed in cross chroot.
18 case "$ARCH" in
19 arm) BUILD_DEPENDS="ncurses-dev libxml2-tools libxml2-dev" ;;
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 ./configure $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib $fs/usr
36 cp -a $install/usr/include $fs/usr
37 cp -a $install/usr/share/aclocal $fs/usr/share
38 cp -a $install/usr/share/gettext $fs/usr/share
39 # Remove gettext-base files.
40 rm $fs/usr/bin/gettext
41 rm $fs/usr/bin/gettext.sh
42 rm $fs/usr/bin/envsubst
43 rm $fs/usr/bin/ngettext
44 }