Commit 59bc7ecf authored by Natanael Copa's avatar Natanael Copa

main/aspell: dont use uclibc++

parent 51297e26
......@@ -2,28 +2,29 @@
pkgname=aspell
pkgver=0.60.6
_pkgmajorver=${pkgver%.*}
pkgrel=1
pkgrel=2
pkgdesc="A spell checker designed to eventually replace Ispell"
url="http://aspell.net/"
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="ncurses-dev uclibc++-dev perl"
makedepends="ncurses-dev perl"
install=
source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz
libmath.patch"
build ()
{
build() {
cd "$srcdir"/$pkgname-$pkgver
export CXX=${CXX_UC:-g++-uc}
./configure --prefix=/usr || return 1
# we want add -lm to linker flag for libaspell so wil build that
# separately. this is just an ugly workaround
make libaspell.la LDFLAGS="$LDFLAGS -lm" || return 1
make || return 1
}
package() {
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install || return 1
ln -s $pkgname-${_pkgmajorver} "$pkgdir"/usr/lib/$pkgname || return 1
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment