# Maintainer: Natanael Copa # Contributor: Valery Kartel setvar pkgname = 'aspell' setvar pkgver = '0.60.6.1' setvar pkgrel = '12' setvar pkgdesc = ""A spell checker designed to eventually replace Ispell"" setvar url = ""http://aspell.net/"" setvar arch = ""all"" setvar license = ""LGPL2+"" setvar subpackages = ""$pkgname-compat::noarch $pkgname-utils $pkgname-dev $pkgname-doc $pkgname-lang $pkgname-libs"" setvar depends = '' setvar depends_dev = ""$pkgname-utils"" setvar makedepends = ""ncurses-dev perl gettext-dev"" setvar install = '' setvar source = ""ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"" setvar builddir = ""$srcdir"/$pkgname-$pkgver" proc prepare { cd $builddir default_prepare update_config_sub } proc build { cd $builddir ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --enable-dict-dir=/usr/share/$pkgname \ --enable-pkgdatadir=/usr/share/$pkgname \ --enable-compile-in-filters make } proc check { cd $builddir make check } proc package { cd $builddir make DESTDIR="$pkgdir" install } proc compat { setvar pkgdesc = ""aspell compatibility scripts for ispell and unix spell"" setvar depends = "$pkgname" install -d "$subpkgdir"/usr/bin cd "$pkgdir"/usr/share/$pkgname mv spell ispell "$subpkgdir"/usr/bin/ } proc utils { setvar pkgdesc = ""aspell misc utils"" setvar depends = ""$pkgname perl"" install -d "$subpkgdir"/usr/bin cd "$pkgdir"/usr/bin mv pre* aspell-import run-with-aspell word-list-compress "$subpkgdir"/usr/bin/ } proc libs { default_libs mv "$pkgdir"/usr/share "$subpkgdir"/usr rm -fr "$pkgdir"/usr/lib } setvar md5sums = ""e66a9c9af6a60dc46134fdacf6ce97d7 aspell-0.60.6.1.tar.gz"" setvar sha256sums = ""f52583a83a63633701c5f71db3dc40aab87b7f76b29723aeb27941eff42df6e1 aspell-0.60.6.1.tar.gz"" setvar sha512sums = ""f310c7590be98406589b5c26ca36a2ecfe4733f0b40fd6c176b96b7955ef2b5cd0ec9a3d770cf132146ae7a896042b4b698945112995ee1ae66adcfa5542247f aspell-0.60.6.1.tar.gz""