summaryrefslogtreecommitdiffstats
path: root/swig/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'swig/Pkgfile')
-rw-r--r--swig/Pkgfile19
1 files changed, 19 insertions, 0 deletions
diff --git a/swig/Pkgfile b/swig/Pkgfile
new file mode 100644
index 000000000..295051276
--- /dev/null
+++ b/swig/Pkgfile
@@ -0,0 +1,19 @@
+# Description: A compiler that makes it easy to integrate C and C++ code with scripting languages
+# URL:http://www.swig.org/
+# Maintainer: NuTyX core team
+# Packager: lesibel at free dot fr
+# Depends on:
+
+name=swig
+version=2.0.4
+release=1
+
+source=("http://downloads.sourceforge.net/$name/$name-$version.tar.gz")
+
+build() {
+ cd $name-$version
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr
+ make
+ make DESTDIR=$PKG install
+ install -D -m644 LICENSE $PKG/usr/share/licenses/$name/LICENSE
+}