wok-next view aspell/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children | 82b613cfd1e0 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="aspell"
4 VERSION="0.60.6.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU spell checker"
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="http://aspell.net/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/aspell.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$GNU_MIRROR/aspell/$TARBALL"
15 BUILD_DEPENDS="perl gettext-dev ncurses-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 # fix some problems identified by gcc7:
20 sed -i '/ top.do_check ==/s/top.do_check/*&/' modules/filter/tex.cpp
21 sed -i '/word ==/s/word/*&/' prog/check_funs.cpp
23 ./configure $CONFIGURE_ARGS &&
24 fix libtool &&
25 make &&
26 make install || return 1
28 ln -svfn aspell-0.60 $install/usr/lib/aspell
30 cook_pick_docs manual/aspell.html/ manual/aspell-dev.html/
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 aspell)
36 copy @std
37 DEPENDS="ncurses"
38 TAGS="spell check"
39 ;;
40 *-dev)
41 copy @dev
42 ;;
43 esac
44 }