wok-next annotate aspell/receipt @ rev 20680
Up at (3.1.20), bluez (5.48)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu May 17 13:01:17 2018 +0300 (2018-05-17) |
parents | 835b3b8ce6ac |
children | f48456621a9d |
rev | line source |
---|---|
al@19733 | 1 # SliTaz package receipt v2. |
paul@2098 | 2 |
paul@2098 | 3 PACKAGE="aspell" |
al@19693 | 4 VERSION="0.60.6.1" |
paul@2098 | 5 CATEGORY="system-tools" |
al@19733 | 6 SHORT_DESC="GNU spell checker" |
paul@2098 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15201 | 8 LICENSE="LGPL2" |
al@19275 | 9 WEB_SITE="http://aspell.net/" |
al@20405 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/aspell.html" |
paul@2098 | 11 |
al@19693 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19693 | 13 WGET_URL="$GNU_MIRROR/aspell/$TARBALL" |
al@19693 | 14 |
al@19693 | 15 BUILD_DEPENDS="perl gettext ncurses-dev" |
al@19733 | 16 SPLIT="aspell-dev" |
pascal@15201 | 17 |
al@20405 | 18 compile_rules() { |
al@20405 | 19 # fix some problems identified by gcc7: |
al@20405 | 20 sed -i '/ top.do_check ==/s/top.do_check/*&/' modules/filter/tex.cpp |
al@20405 | 21 sed -i '/word ==/s/word/*&/' prog/check_funs.cpp |
al@20405 | 22 |
al@20569 | 23 ./configure $CONFIGURE_ARGS && |
al@20569 | 24 fix libtool && |
al@20569 | 25 make && |
al@20569 | 26 make install || return 1 |
al@19693 | 27 |
al@19733 | 28 ln -svfn aspell-0.60 $install/usr/lib/aspell |
al@20405 | 29 |
al@20680 | 30 cook_pick_docs manual/aspell.html/ manual/aspell-dev.html/ |
paul@2098 | 31 } |
paul@2098 | 32 |
al@20405 | 33 genpkg_rules() { |
al@19733 | 34 case $PACKAGE in |
al@20405 | 35 aspell) |
al@20405 | 36 copy @std |
al@20405 | 37 DEPENDS="ncurses" |
al@20405 | 38 TAGS="spell check" |
al@20405 | 39 ;; |
al@20405 | 40 *-dev) |
al@20405 | 41 copy @dev |
al@20405 | 42 ;; |
al@19733 | 43 esac |
paul@2098 | 44 } |