summaryrefslogtreecommitdiffstats
path: root/swig/Pkgfile
blob: 2950512765890f28092c84117f0d39d668eb4669 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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: 

name=swig
version=2.0.4
release=1

source=("http://downloads.sourceforge.net/$name/$name-$version.tar.gz")

build() {
	cd $name-$version
	PYTHON=/usr/bin/python2 ./configure --prefix=/usr
	make
	make DESTDIR=$PKG install
	install -D -m644 LICENSE $PKG/usr/share/licenses/$name/LICENSE
}