summaryrefslogtreecommitdiff
path: root/repo/devel/swig.xibuild
blob: 5d2471ceb7716286dde4382d9e20c3c0e9fe418b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
}