wok view gettext/receipt @ rev 7010

Up: xorg-xcmiscproto to 1.2.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Oct 31 13:30:51 2010 +0000 (2010-10-31)
parents 70481e96437f
children 9411655af0e2
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 BUILD_DEPENDS="glibc-locale"
10 DEPENDS="gettext-base acl libgomp ncurses glib libcroco gcc-lib-base"
11 WEB_SITE="http://www.gnu.org/software/gettext/"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make -j 4 &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib $fs/usr
30 cp -a $_pkg/usr/include $fs/usr
31 cp -a $_pkg/usr/share/aclocal $fs/usr/share
32 cp -a $_pkg/usr/share/gettext $fs/usr/share
33 # Remove gettext-base files.
34 rm $fs/usr/bin/gettext
35 rm $fs/usr/bin/gettext.sh
36 rm $fs/usr/bin/envsubst
37 rm $fs/usr/bin/ngettext
38 }