wok-next diff gettext/receipt @ rev 10851
pth: Fixed typo in deps.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Jun 12 11:09:02 2011 +0000 (2011-06-12) |
parents | e198ea52ecc9 |
children | 9c5e2fdf739d |
line diff
1.1 --- a/gettext/receipt Tue Oct 19 12:45:19 2010 +0000 1.2 +++ b/gettext/receipt Sun Jun 12 11:09:02 2011 +0000 1.3 @@ -6,19 +6,33 @@ 1.4 SHORT_DESC="Utilities for the GNU Translation Project." 1.5 MAINTAINER="pankso@slitaz.org" 1.6 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.7 -BUILD_DEPENDS="glibc-locale" 1.8 -DEPENDS="gettext-base acl libgomp ncurses glib libcroco gcc-lib-base" 1.9 +BUILD_DEPENDS="glibc-locale ncurses" 1.10 +DEPENDS="gettext-base libgomp ncurses gcc-lib-base" 1.11 WEB_SITE="http://www.gnu.org/software/gettext/" 1.12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 1.13 1.14 +# Rules to compile & install the temporary toolchain. 1.15 +cook_tmp_toolchain() 1.16 +{ 1.17 + cd $src/gettext-tools 1.18 + ./configure --disable-shared && 1.19 + make -C gnulib-lib && 1.20 + make -C src msgfmt && 1.21 + cp -a src/msgfmt /tools/bin && 1.22 + cd ../gettext-runtime && 1.23 + ./configure --disable-shared && 1.24 + make -C gnulib-lib && 1.25 + make -C src envsubst && 1.26 + make -C src gettext && 1.27 + make -C src ngettext && 1.28 + cp -a src/envsubst src/gettext src/gettext.sh src/ngettext /tools/bin 1.29 +} 1.30 + 1.31 # Rules to configure and make the package. 1.32 compile_rules() 1.33 { 1.34 cd $src 1.35 - ./configure --prefix=/usr --infodir=/usr/share/info \ 1.36 - --mandir=/usr/share/man $CONFIGURE_ARGS && 1.37 - make -j 4 && 1.38 - make DESTDIR=$PWD/_pkg install 1.39 + ./configure && make && make install 1.40 } 1.41 1.42 # Rules to gen a SliTaz package suitable for Tazpkg. 1.43 @@ -35,4 +49,4 @@ 1.44 rm $fs/usr/bin/gettext.sh 1.45 rm $fs/usr/bin/envsubst 1.46 rm $fs/usr/bin/ngettext 1.47 -} 1.48 +} 1.49 \ No newline at end of file