wok view gettext/receipt @ rev 3203
added gmime-dev devel files for gmime
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Thu May 28 11:50:25 2009 +0000 (2009-05-28) |
parents | 583bdd691510 |
children | fee531f1e85e |
line source
1 # SliTaz package receipt.
3 PACKAGE="gettext"
4 VERSION="0.17"
5 CATEGORY="development"
6 SHORT_DESC="Utilities for the GNU Translation Project."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 DEPENDS="gettext-base libgomp flib ncurses glib"
10 WEB_SITE="http://www.gnu.org/software/gettext/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/lib $fs/usr
29 cp -a $_pkg/usr/include $fs/usr
30 cp -a $_pkg/usr/share/aclocal $fs/usr/share
31 cp -a $_pkg/usr/share/gettext $fs/usr/share
32 # Remove gettext-base files.
33 rm $fs/usr/bin/gettext
34 rm $fs/usr/bin/gettext.sh
35 }