summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-20 03:54:27 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-20 03:54:27 (GMT)
commit0509dbb80831e3d25fea547036198f05630ce6aa (patch)
tree790530751eb072884db5a1db5bc9423c4d0c2b58 /abs
parentae69e6773ed7339f10a6335fa5d37103a73a1499 (diff)
downloadlinhes_pkgbuild-0509dbb80831e3d25fea547036198f05630ce6aa.zip
linhes_pkgbuild-0509dbb80831e3d25fea547036198f05630ce6aa.tar.gz
linhes_pkgbuild-0509dbb80831e3d25fea547036198f05630ce6aa.tar.bz2
swig: upgrade
Diffstat (limited to 'abs')
-rw-r--r--abs/extra/swig/PKGBUILD34
1 files changed, 20 insertions, 14 deletions
diff --git a/abs/extra/swig/PKGBUILD b/abs/extra/swig/PKGBUILD
index e40f539..bfe0512 100644
--- a/abs/extra/swig/PKGBUILD
+++ b/abs/extra/swig/PKGBUILD
@@ -1,23 +1,29 @@
-# $Id: PKGBUILD 14415 2008-10-06 08:59:13Z douglas $
+# $Id: PKGBUILD 94475 2010-10-07 11:10:49Z stephane $
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
-# Maintainer: Jason Chu <jason@archlinux.org>
+# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
pkgname=swig
-pkgver=1.3.36
+pkgver=2.0.1
pkgrel=1
-pkgdesc="SWIG is a compiler that makes it easy to integrate C and C++ code with scripting languages"
+pkgdesc="Generate scripting interfaces to C/C++ code"
arch=('i686' 'x86_64')
-license=('custom')
-source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
url="http://www.swig.org/"
-depends=('gcc' 'guile')
-
-md5sums=('8f30aa4130b62404099bbcba1bf429b1')
+license=('custom')
+depends=('gcc-libs' 'zlib')
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('da5a1e396597be683a62d349d71802c33fb0f644')
build() {
- cd $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr
- make || return 1
- make DESTDIR=$startdir/pkg install
- install -D -m644 LICENSE ${startdir}/pkg/usr/share/licenses/swig/license.txt
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make || return 1
}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install || return 1
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -D -m644 LICENSE-UNIVERSITIES "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-UNIVERSITIES"
+}
+
+# vim: set noexpandtab tabstop=8 shiftwidth=8 textwidth=132 autoindent