summaryrefslogtreecommitdiff
path: root/pcr/swig1/PKGBUILD
diff options
context:
space:
mode:
authoraurelien <aurelien@cwb.io>2013-02-25 15:28:21 +0100
committeraurelien <aurelien@cwb.io>2013-02-25 15:28:21 +0100
commit4d2d33bb989a2860e863ce198e0a185c3a03af4b (patch)
tree5eac88faf31c0092c5cae9f354781a6ac6ce81fd /pcr/swig1/PKGBUILD
parenta7a8c7b02e6ded36a81650503650dc1d875be76a (diff)
+ coin eigen3 swig1
Diffstat (limited to 'pcr/swig1/PKGBUILD')
-rw-r--r--pcr/swig1/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/swig1/PKGBUILD b/pcr/swig1/PKGBUILD
new file mode 100644
index 000000000..4cb83afd2
--- /dev/null
+++ b/pcr/swig1/PKGBUILD
@@ -0,0 +1,29 @@
+# Contributor: Hilton Medeiros <medeiros.hilton at gmail dot com>
+# Contributor: Jason Chu <jason@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO>
+
+pkgname=swig1
+_pkgname=swig
+pkgver=1.3.40
+pkgrel=1
+pkgdesc="A compiler that integrates C and C++ code with scripting languages (legacy version)"
+arch=('i686' 'x86_64')
+url="http://www.swig.org/"
+license=('custom')
+depends=('gcc-libs' 'zlib')
+conflicts=('swig' 'swig-pantheon')
+provides=('swig')
+source=("http://downloads.sourceforge.net/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}