2006-11-10 16:19:02 +01:00
|
|
|
# Description: A tool to create language bindings
|
2015-03-18 15:38:09 +01:00
|
|
|
# URL: http://www.swig.org/
|
|
|
|
# Maintainer: Jose V Beneyto, sepen at crux dot nu
|
|
|
|
# Packager: Juergen Daubert, jue at crux dot nu
|
|
|
|
# Depends on: zlib libpcre
|
2006-11-10 16:19:02 +01:00
|
|
|
|
|
|
|
name=swig
|
2016-01-02 20:41:28 +01:00
|
|
|
version=3.0.8
|
2009-02-04 15:09:31 +01:00
|
|
|
release=1
|
2010-11-12 13:57:28 +01:00
|
|
|
source=(http://downloads.sourceforge.net/project/$name/$name/$name-$version/$name-$version.tar.gz)
|
2006-11-10 16:19:02 +01:00
|
|
|
|
|
|
|
build () {
|
|
|
|
cd $name-$version
|
2015-01-05 04:45:11 +01:00
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
2015-03-18 15:38:09 +01:00
|
|
|
--with-swiglibdir=/usr/share/$name/${version%.*}
|
2015-01-05 04:45:11 +01:00
|
|
|
|
2009-02-04 15:09:31 +01:00
|
|
|
make
|
2006-11-10 16:19:02 +01:00
|
|
|
make DESTDIR=$PKG install
|
2015-03-18 15:38:09 +01:00
|
|
|
|
|
|
|
# keep versioned dir for compatibility
|
|
|
|
ln -sf ${version%.*} $PKG/usr/share/$name/$version
|
2006-11-10 16:19:02 +01:00
|
|
|
}
|