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