diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-05-04 13:43:57 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-05-04 13:43:57 +0000 |
commit | 59bc7ecf73115652b423e43eb522d4e546c4c737 (patch) | |
tree | 7f2be101c476dbc1e09ea78212ce3810da5cbf62 | |
parent | 51297e26377f2367b34ae7e4bdd8f3f94fbf9e05 (diff) | |
download | aports-59bc7ecf73115652b423e43eb522d4e546c4c737.tar.bz2 aports-59bc7ecf73115652b423e43eb522d4e546c4c737.tar.xz |
main/aspell: dont use uclibc++
-rw-r--r-- | main/aspell/APKBUILD | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/main/aspell/APKBUILD b/main/aspell/APKBUILD index 5e1bf88972..34cd720d4e 100644 --- a/main/aspell/APKBUILD +++ b/main/aspell/APKBUILD @@ -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 } |