summaryrefslogtreecommitdiffstats
path: root/extra/swig/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/swig/Pkgfile')
-rw-r--r--extra/swig/Pkgfile19
1 files changed, 19 insertions, 0 deletions
diff --git a/extra/swig/Pkgfile b/extra/swig/Pkgfile
new file mode 100644
index 000000000..e45055a51
--- /dev/null
+++ b/extra/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: gcc-libs, zlib
+
+name=swig
+version=1.3.40
+release=1
+
+source=("http://downloads.sourceforge.net/$name/$name-$version.tar.gz")
+
+build() {
+ cd $name-$version
+ ./configure --prefix=/usr
+ make
+ make DESTDIR=$PKG install
+ install -D -m644 LICENSE $PKG/usr/share/licenses/$name/LICENSE
+}