wok-stable view aspell/receipt @ rev 5803

Speedup some builds
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 11 20:31:13 2010 +0200 (2010-07-11)
parents f4fd0777003f
children
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="ncurses gcc-lib-base"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://aspell.net/"
11 WGET_URL="ftp://ftp.gnu.org/gnu/aspell/$TARBALL"
12 TAGS="spell check"
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 && 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/lib $fs/usr/share/locale
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 cp -a $_pkg/usr/lib/aspell* $fs/usr/lib
31 for i in de es pt_BR; do
32 cp -a $_pkg/usr/share/locale/$i $fs/usr/share/locale
33 done
35 # Remove unneeded files
36 rm -f $fs/usr/lib/aspell*/*.*a
37 }