wok-6.x view aspell/receipt @ rev 2117
aspell: add locale dir
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Fri Jan 30 17:25:24 2009 +0000 (2009-01-30) |
parents | ff607e8ddd3e |
children | 7a436db659a4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="aspell"
4 VERSION="0.60.6"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU spell checker."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://aspell.net/"
11 WGET_URL="ftp://ftp.gnu.org/gnu/aspell/$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 && 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/lib $fs/usr/share/locale
26 cp -a $_pkg/usr/bin $fs/usr
27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
28 cp -a $_pkg/usr/lib/aspell* $fs/usr/lib
30 for i in de es pt_BR; do
31 cp -a $_pkg/usr/share/locale/$i $fs/usr/share/locale
32 done
34 # Remove unneeded files
35 rm -f $fs/usr/lib/aspell*/*.*a
36 }