# Maintainer: Natanael Copa pkgname=swig pkgver=2.0.11 pkgrel=0 pkgdesc="SWIG is a compiler that makes it easy to integrate C and C++ code with scripting languages" url="http://www.swig.org/" arch="all" license="custom" depends="guile" makedepends="zlib-dev pcre-dev" source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" build() { cd "$srcdir"/$pkgname-$pkgver ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ || return 1 make || return 1 } package() { cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } md5sums="291ba57c0acd218da0b0916c280dcbae swig-2.0.11.tar.gz" sha256sums="63780bf29f53937ad399a1f68bccb3730c90f65746868c4cdfc25cafcd0a424e swig-2.0.11.tar.gz" sha512sums="6ebe40acebd779dc7d647595d4bd5db700615d333b53024fd8e36c7541a2c32677a77655bac475a5cb3add9742cef6d9c7e8e12d8c1105f7e76a3d10e2fea95e swig-2.0.11.tar.gz"