From 2bda0d54b37dd3ebf7917c3a58c0404d21afe7f6 Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 10 Mar 2022 23:01:07 +0000 Subject: shell will now default to dash asap --- repo/devel/swig.xibuild | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 repo/devel/swig.xibuild (limited to 'repo/devel/swig.xibuild') 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 +} -- cgit v1.2.1