summaryrefslogtreecommitdiff
path: root/repo/devel/swig.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-10 23:01:07 +0000
committerdavidovski <david@davidovski.xyz>2022-03-10 23:01:07 +0000
commit2bda0d54b37dd3ebf7917c3a58c0404d21afe7f6 (patch)
tree36a97971d0f9c6151f36b333383bb985289f23e3 /repo/devel/swig.xibuild
parent08c8891c20131576640f30cc40fcdbc57a497957 (diff)
shell will now default to dash asap
Diffstat (limited to 'repo/devel/swig.xibuild')
-rw-r--r--repo/devel/swig.xibuild20
1 files changed, 20 insertions, 0 deletions
diff --git a/repo/devel/swig.xibuild b/repo/devel/swig.xibuild
new file mode 100644
index 0000000..5d2471c
--- /dev/null
+++ b/repo/devel/swig.xibuild
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+MAKEDEPS="make autoconf bison"
+DEPS="guile gcc musl pcre zlib"
+
+PKG_VER=4.0.2
+SOURCE=https://downloads.sourceforge.net/swig/swig-$PKG_VER.tar.gz
+DESC="A compiler that makes it easy to integrate C and C++ code with scripting languages"
+
+build () {
+ ./configure --prefix=/usr
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+
+ # backwards compatibility?
+ ln -s /usr/bin/aclocal $PKG_DEST/usr/bin/aclocal-1.15
+}