wok-current view gettext/receipt @ rev 1052
lostirc: copy skel into /etc
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Jul 13 12:58:55 2008 +0200 (2008-07-13) |
parents | 3169dbe810b0 |
children | 987853b8719d |
line source
1 # SliTaz package receipt.
3 PACKAGE="gettext"
4 VERSION="0.16.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"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr --infodir=/usr/share/info \
17 --mandir=/usr/share/man $CONFIGURE_ARGS
18 make
19 make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/share/locale
26 cp -a $_pkg/usr/bin $fs/usr
27 cp -a $_pkg/usr/lib $fs/usr
28 cp -a $_pkg/usr/include $fs/usr
29 strip -s $fs/usr/bin/* 2>/dev/null
30 strip -s $fs/usr/lib/*.so*
31 cp -a $_pkg/usr/share/aclocal $fs/usr/share
32 cp -a $_pkg/usr/share/gettext $fs/usr/share
33 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
34 }