# Maintainer: Natanael Copa pkgname=slang pkgver=2.1.4 pkgrel=0 pkgdesc="S-Lang is a powerful interpreted language" url="http://www.s-lang.org/" license="GPL" subpackages="$pkgname-dev $pkgname-doc" depends= makedepends="pcre-dev" source="ftp://ftp.fu-berlin.de/pub/unix/misc/$pkgname/v2.1/$pkgname-$pkgver.tar.gz slang-2.1.3-uclibc.patch " build () { cd "$srcdir"/$pkgname-$pkgver for i in ../*.patch; do msg "Applying $i..." patch -p1 < $i || return 1 done ./configure --prefix=/usr \ --sysconfdir=/etc || return 1 make || return 1 make -j1 install-all DESTDIR="$pkgdir" || return 1 } md5sums="3516f593bc04975844f26137c18275d2 slang-2.1.4.tar.gz 56ca82f415578994b6050e769b6b7bc9 slang-2.1.3-uclibc.patch"