wok-next view aspell/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | 835b3b8ce6ac |
children | f48456621a9d |
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/stable/general/aspell.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$GNU_MIRROR/aspell/$TARBALL"
15 BUILD_DEPENDS="perl gettext ncurses-dev"
16 SPLIT="aspell-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 }