wok-stable view aspell/receipt @ rev 10728

Fixed all sourced slitaz-dev-tools receipts. The way cook works is it keeps the .hg folder when downloading mecurial sources. By downloading the $VERSION.tar.bz2 and renaming it $SOURCE-$VERSION.tar.bz2 we don't keep the .hg folder in source tarball. Repos will be backup on source dvd anyway so this does save a little bit of space.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 28 21:18:14 2011 +0000 (2011-05-28)
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 }