Commit | Line | Data |
---|---|---|
26300849 VM |
1 | # Description: GNU aspell is a spell checker designed to replace ispell |
2 | # URL: http://aspell.net | |
3 | # Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de | |
4 | # Arch Maintainer System Team devel at crux-arm dot nu | |
5 | # Depends on: ncurses | |
6 | ||
7 | name=aspell | |
8 | version=0.60.6 | |
9 | release=1 | |
10 | source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz) | |
11 | ||
12 | build () { | |
13 | export CURSES_LIB="-lncursesw" | |
14 | ||
15 | cd $name-$version | |
16 | ./configure --build=$CHOST \ | |
17 | --host=$CTARGET \ | |
18 | --prefix=/usr \ | |
19 | --mandir=/usr/man | |
20 | ||
21 | # libtool relink change to avoid hosts libs | |
22 | sed "s|add_dir=\"\-L\$libdir\"|add_dir=\"\-L\$CLFS\$dir\"|g" -i libtool | |
23 | make | |
24 | make DESTDIR=$PKG install | |
25 | rm -R $PKG/usr/share | |
26 | } |