PKGBUILDs/extra/swig/PKGBUILD

23 lines
707 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 34131 2009-04-06 18:28:05Z andrea $
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Maintainer: Jason Chu <jason@archlinux.org>
pkgname=swig
pkgver=1.3.39
pkgrel=1
pkgdesc="SWIG is a compiler that makes it easy to integrate C and C++ code with scripting languages"
arch=('i686' 'x86_64')
license=('custom')
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
url="http://www.swig.org/"
depends=('guile' 'gcc-libs' 'zlib')
build() {
cd ${srcdir}/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
}
md5sums=('ac201d1b87f8659584534f9540d7ad24')